summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 8d9b9b429..bb9391c78 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -191,8 +191,7 @@ sp_marker_prev_new(unsigned psize, gchar const *mname,
SPItem *item = SP_ITEM(object);
// Find object's bbox in document
- Geom::Affine const i2doc(item->i2doc_affine());
- Geom::OptRect dbox = item->getBounds(i2doc);
+ Geom::OptRect dbox = item->documentVisualBounds();
if (!dbox) {
return NULL;