From 3d1fec6600a49bc1bd13bae205121dd95940ae19 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 8 Oct 2013 23:13:22 -0400 Subject: Remove duplicate if statement (bzr r12670.1.1) --- src/style.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/style.cpp') 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) { -- cgit v1.2.3