summaryrefslogtreecommitdiffstats
path: root/src/sp-title.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-07 16:28:22 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-07 16:28:22 +0000
commit27e2102f96a5554bcd5310ec11435d155773b279 (patch)
treee5f982c25aed199f9027a6277b17302f97b4c80c /src/sp-title.cpp
parentMerged FilterPrimitive and subclasses. (diff)
downloadinkscape-27e2102f96a5554bcd5310ec11435d155773b279.tar.gz
inkscape-27e2102f96a5554bcd5310ec11435d155773b279.zip
Merge Object and subclasses. Merging of SP- and C-classes complete.
(bzr r11608.1.86)
Diffstat (limited to 'src/sp-title.cpp')
-rw-r--r--src/sp-title.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp-title.cpp b/src/sp-title.cpp
index 57c61f590..4ecfcfa8e 100644
--- a/src/sp-title.cpp
+++ b/src/sp-title.cpp
@@ -26,9 +26,7 @@ namespace {
bool titleRegistered = SPFactory::instance().registerObject("svg:title", createTitle);
}
-SPTitle::SPTitle() : SPObject(), CObject(this) {
- delete this->cobject;
- this->cobject = this;
+SPTitle::SPTitle() : SPObject() {
}
SPTitle::~SPTitle() {
@@ -41,7 +39,7 @@ Inkscape::XML::Node* SPTitle::write(Inkscape::XML::Document *xml_doc, Inkscape::
repr = object->getRepr()->duplicate(xml_doc);
}
- CObject::write(xml_doc, repr, flags);
+ SPObject::write(xml_doc, repr, flags);
return repr;
}