summaryrefslogtreecommitdiffstats
path: root/src/sp-font-face.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-02-22 09:17:44 +0000
committerJon A. Cruz <jon@joncruz.org>2011-02-22 09:17:44 +0000
commit0e0ce7571944e0a9d60294b6efdc855e6df52db8 (patch)
tree3cd452f4abfb51a8f4ffbbb08d001f651ff65d29 /src/sp-font-face.cpp
parentFinished cleanup of outdated SP_OBJECT_STYLE C macro. (diff)
downloadinkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.tar.gz
inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.zip
Finished cleanup of outdated SP_OBJECT_REPR C macro.
(bzr r10067)
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");