diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-04-29 16:12:37 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-04-29 16:12:37 +0000 |
| commit | a6a6de5c06d3183329d73fa39ae0ba02bbd838e1 (patch) | |
| tree | 2df07d7bfcccfc5a746a0613e30cdeb9a46ac3e1 /src/sp-anchor.cpp | |
| parent | SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'. (diff) | |
| download | inkscape-a6a6de5c06d3183329d73fa39ae0ba02bbd838e1.tar.gz inkscape-a6a6de5c06d3183329d73fa39ae0ba02bbd838e1.zip | |
Backout last commit as it introduced subtle errors.
(bzr r14864)
Diffstat (limited to 'src/sp-anchor.cpp')
| -rw-r--r-- | src/sp-anchor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sp-anchor.cpp b/src/sp-anchor.cpp index 39bba610e..78ba10c13 100644 --- a/src/sp-anchor.cpp +++ b/src/sp-anchor.cpp @@ -38,7 +38,6 @@ void SPAnchor::build(SPDocument *document, Inkscape::XML::Node *repr) { this->readAttr( "xlink:show" ); this->readAttr( "xlink:actuate" ); this->readAttr( "xlink:href" ); - this->readAttr( "xlink" ); this->readAttr( "target" ); } @@ -54,7 +53,6 @@ void SPAnchor::release() { void SPAnchor::set(unsigned int key, const gchar* value) { switch (key) { case SP_ATTR_XLINK_HREF: - case SP_ATTR_HREF: g_free(this->href); this->href = g_strdup(value); this->requestModified(SP_OBJECT_MODIFIED_FLAG); |
