From a6a6de5c06d3183329d73fa39ae0ba02bbd838e1 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 29 Apr 2016 18:12:37 +0200 Subject: Backout last commit as it introduced subtle errors. (bzr r14864) --- src/sp-tag-use.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/sp-tag-use.cpp') diff --git a/src/sp-tag-use.cpp b/src/sp-tag-use.cpp index b891c8fa0..935f7429e 100644 --- a/src/sp-tag-use.cpp +++ b/src/sp-tag-use.cpp @@ -55,7 +55,6 @@ SPTagUse::build(SPDocument *document, Inkscape::XML::Node *repr) { SPObject::build(document, repr); readAttr( "xlink:href" ); - readAttr( "href" ); // We don't need to create child here: // reading xlink:href will attach ref, and that will cause the changed signal to be emitted, @@ -86,9 +85,7 @@ SPTagUse::set(unsigned key, gchar const *value) { switch (key) { - case SP_ATTR_XLINK_HREF: - case SP_ATTR_HREF: - { + case SP_ATTR_XLINK_HREF: { if ( value && href && ( strcmp(value, href) == 0 ) ) { /* No change, do nothing. */ } else { -- cgit v1.2.3