summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-11-30 20:22:57 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-11-30 20:22:57 +0000
commit8bc2db40512a6d27b38d1a9d328a190373686dd0 (patch)
treecba72aa22c47842e31d10a0ce33ebe4889eb216b /src/object/sp-item.cpp
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
downloadinkscape-8bc2db40512a6d27b38d1a9d328a190373686dd0.tar.gz
inkscape-8bc2db40512a6d27b38d1a9d328a190373686dd0.zip
Replace void* by SPItem* to avoid static casts.
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index e9ec95252..6a9bd9615 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1179,7 +1179,7 @@ Inkscape::DrawingItem *SPItem::invoke_show(Inkscape::Drawing &drawing, unsigned
stroke_ps->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
}
- ai->setData(this);
+ ai->setItem(this);
ai->setItemBounds(geometricBounds());
}