summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Turner <novalis@novalis.org>2013-10-09 03:13:22 +0000
committerDavid Turner <novalis@novalis.org>2013-10-09 03:13:22 +0000
commit3d1fec6600a49bc1bd13bae205121dd95940ae19 (patch)
tree21d53f306b27deb0a196339817bb471efcd14359 /src
parentSeamlessly switch between SVG circle, ellipse, and path (arc) elements while ... (diff)
downloadinkscape-3d1fec6600a49bc1bd13bae205121dd95940ae19.tar.gz
inkscape-3d1fec6600a49bc1bd13bae205121dd95940ae19.zip
Remove duplicate if statement
(bzr r12670.1.1)
Diffstat (limited to 'src')
-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) {