summaryrefslogtreecommitdiffstats
path: root/src/sp-font-face.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-font-face.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-font-face.cpp')
-rw-r--r--src/sp-font-face.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-font-face.cpp b/src/sp-font-face.cpp
index 93e2eeac8..520eee855 100644
--- a/src/sp-font-face.cpp
+++ b/src/sp-font-face.cpp
@@ -865,7 +865,7 @@ static Inkscape::XML::Node *sp_fontface_write(SPObject *object, Inkscape::XML::D
sp_repr_set_svg_double(repr, "overline-position", face->overline_position);
sp_repr_set_svg_double(repr, "overline-thickness", face->overline_thickness);
- if (repr != SP_OBJECT_REPR(object)) {
+ if (repr != object->getRepr()) {
// In all COPY_ATTR given below the XML tree is
// being used directly while it shouldn't be.
COPY_ATTR(repr, object->getRepr(), "font-family");