summaryrefslogtreecommitdiffstats
path: root/src/sp-anchor.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-04-07 23:42:04 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-04-07 23:42:04 +0000
commit945ce419c806c73d70203dec33ececafbe108a92 (patch)
treecfcdb59bf47e9db7f9e01f7eebb59924bdeaea94 /src/sp-anchor.cpp
parentMerge from trunk (again) (diff)
parentExtensions. SVG+media fix (see Bug #400356). (diff)
downloadinkscape-945ce419c806c73d70203dec33ececafbe108a92.tar.gz
inkscape-945ce419c806c73d70203dec33ececafbe108a92.zip
Merge from trunk
(bzr r9508.1.73)
Diffstat (limited to 'src/sp-anchor.cpp')
-rw-r--r--src/sp-anchor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-anchor.cpp b/src/sp-anchor.cpp
index e57ac8a58..517512eb2 100644
--- a/src/sp-anchor.cpp
+++ b/src/sp-anchor.cpp
@@ -152,7 +152,7 @@ static Inkscape::XML::Node *sp_anchor_write(SPObject *object, Inkscape::XML::Doc
repr->setAttribute("xlink:href", anchor->href);
- if (repr != SP_OBJECT_REPR(object)) {
+ if (repr != object->getRepr()) {
// XML Tree being directly used while it shouldn't be in the
// below COPY_ATTR lines
COPY_ATTR(repr, object->getRepr(), "xlink:type");