summaryrefslogtreecommitdiffstats
path: root/src/sp-object-group.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-16 12:20:26 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-16 12:20:26 +0000
commitefa9bdd372b89848165dc575fafff45851514e69 (patch)
tree96b34e71ff3aa38989acf45ba227fb103b2166fe /src/sp-object-group.cpp
parentDrop a couple of unused variables and a pixmap (diff)
downloadinkscape-efa9bdd372b89848165dc575fafff45851514e69.tar.gz
inkscape-efa9bdd372b89848165dc575fafff45851514e69.zip
Warning cleanup
(bzr r12211)
Diffstat (limited to 'src/sp-object-group.cpp')
-rw-r--r--src/sp-object-group.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sp-object-group.cpp b/src/sp-object-group.cpp
index 5158ec70a..e2b601ab9 100644
--- a/src/sp-object-group.cpp
+++ b/src/sp-object-group.cpp
@@ -93,8 +93,6 @@ sp_objectgroup_write(SPObject *object,
Inkscape::XML::Node *repr,
guint flags)
{
- SP_OBJECTGROUP(object); // Ensure we have the right type of SPObject
-
if (flags & SP_OBJECT_WRITE_BUILD) {
if (!repr) {
repr = xml_doc->createElement("svg:g");
@@ -118,7 +116,7 @@ sp_objectgroup_write(SPObject *object,
}
if ((SP_OBJECT_CLASS(sp_objectgroup_parent_class))->write) {
- (SP_OBJECT_CLASS(sp_objectgroup_parent_class))->write(object, xml_doc, repr, flags);
+ SP_OBJECT_CLASS(sp_objectgroup_parent_class)->write(object, xml_doc, repr, flags);
}
return repr;