summaryrefslogtreecommitdiffstats
path: root/src/sp-tag-use.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-tag-use.cpp')
-rw-r--r--src/sp-tag-use.cpp5
1 files changed, 1 insertions, 4 deletions
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 {