diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-02-22 09:17:44 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-02-22 09:17:44 +0000 |
| commit | 0e0ce7571944e0a9d60294b6efdc855e6df52db8 (patch) | |
| tree | 3cd452f4abfb51a8f4ffbbb08d001f651ff65d29 /src/sp-title.cpp | |
| parent | Finished cleanup of outdated SP_OBJECT_STYLE C macro. (diff) | |
| download | inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.tar.gz inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.zip | |
Finished cleanup of outdated SP_OBJECT_REPR C macro.
(bzr r10067)
Diffstat (limited to 'src/sp-title.cpp')
| -rw-r--r-- | src/sp-title.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp-title.cpp b/src/sp-title.cpp index c820c70f0..d21c7b71e 100644 --- a/src/sp-title.cpp +++ b/src/sp-title.cpp @@ -66,11 +66,12 @@ static Inkscape::XML::Node * sp_title_write(SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { if (!repr) { - repr = SP_OBJECT_REPR (object)->duplicate(doc); + repr = object->getRepr()->duplicate(doc); } - if (((SPObjectClass *) title_parent_class)->write) + if (((SPObjectClass *) title_parent_class)->write) { ((SPObjectClass *) title_parent_class)->write(object, doc, repr, flags); + } return repr; } |
