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/color-profile.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/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 99c62ecb3..bcefe994a 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -271,7 +271,6 @@ void ColorProfile::build(SPDocument *document, Inkscape::XML::Node *repr) { SPObject::build(document, repr); this->readAttr( "xlink:href" ); - this->readAttr( "href" ); this->readAttr( "id" ); this->readAttr( "local" ); this->readAttr( "name" ); @@ -290,7 +289,6 @@ void ColorProfile::build(SPDocument *document, Inkscape::XML::Node *repr) { void ColorProfile::set(unsigned key, gchar const *value) { switch (key) { case SP_ATTR_XLINK_HREF: - case SP_ATTR_HREF: if ( this->href ) { g_free( this->href ); this->href = 0; |
