summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-image.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-image.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-image.cpp')
-rw-r--r--src/display/drawing-image.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/display/drawing-image.cpp b/src/display/drawing-image.cpp
index e56f3e58b..8fe337959 100644
--- a/src/display/drawing-image.cpp
+++ b/src/display/drawing-image.cpp
@@ -24,15 +24,10 @@ namespace Inkscape {
DrawingImage::DrawingImage(Drawing &drawing)
: DrawingItem(drawing)
, _pixbuf(NULL)
- , _style(NULL)
{}
DrawingImage::~DrawingImage()
{
- if (_style) {
- sp_style_unref(_style);
- }
-
// _pixbuf is owned by SPImage - do not delete it
}
@@ -45,12 +40,6 @@ DrawingImage::setPixbuf(Inkscape::Pixbuf *pb)
}
void
-DrawingImage::setStyle(SPStyle *style)
-{
- _setStyleCommon(_style, style);
-}
-
-void
DrawingImage::setScale(double sx, double sy)
{
_scale = Geom::Scale(sx, sy);