summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/style.cpp b/src/style.cpp
index bea56e7b1..c581fde7b 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -2469,9 +2469,7 @@ sp_style_set_ipaint_to_uri(SPStyle *style, SPIPaint *paint, const Inkscape::URI
if (paint->value.href->getObject()){
paint->value.href->detach();
}
- }
- if (paint->value.href) {
try {
paint->value.href->attach(*uri);
} catch (Inkscape::BadURIException &e) {