summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-group.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-12-16 16:45:03 +0000
committertavmjong-free <tavmjong@free.fr>2014-12-16 16:45:03 +0000
commit61f4ad6f7569805e50488d4af92756b310c51246 (patch)
tree45f8df080a1b5e63a856e6fd3a99a468fd3b9f1c /src/display/drawing-group.cpp
parentDebugging routines to print out XML, SP Object, and Display Item trees. (diff)
downloadinkscape-61f4ad6f7569805e50488d4af92756b310c51246.tar.gz
inkscape-61f4ad6f7569805e50488d4af92756b310c51246.zip
Code rearrangement to make it clearer what is happening.
(bzr r13803)
Diffstat (limited to 'src/display/drawing-group.cpp')
-rw-r--r--src/display/drawing-group.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/display/drawing-group.cpp b/src/display/drawing-group.cpp
index bce89d70e..1a9cbfdcc 100644
--- a/src/display/drawing-group.cpp
+++ b/src/display/drawing-group.cpp
@@ -21,14 +21,11 @@ namespace Inkscape {
DrawingGroup::DrawingGroup(Drawing &drawing)
: DrawingItem(drawing)
- , _style(NULL)
, _child_transform(NULL)
{}
DrawingGroup::~DrawingGroup()
{
- if (_style)
- sp_style_unref(_style);
delete _child_transform; // delete NULL; is safe
}
@@ -42,12 +39,6 @@ DrawingGroup::setPickChildren(bool p)
_pick_children = p;
}
-void
-DrawingGroup::setStyle(SPStyle *style)
-{
- _setStyleCommon(_style, style);
-}
-
/**
* Set additional transform for the group.
* This is applied after the normal transform and mainly useful for