summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-08-18 15:29:16 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-08-18 15:29:16 +0000
commit3ffefe1e05e3858ce6584dc644817c411232dc77 (patch)
treee992648f9c1598efe6c810009213dbf9b7b31ff4 /src/object
parentFormatting last commit (diff)
downloadinkscape-3ffefe1e05e3858ce6584dc644817c411232dc77.tar.gz
inkscape-3ffefe1e05e3858ce6584dc644817c411232dc77.zip
reduce usage of desktop coordinates (#341)
- avoid unnecessary internal usage of desktop coordinates, e.g. in SpellCheck::compareTextBboxes - document whether a function argument is in document or desktop coordinates, e.g. for SPDocument::getItemsInBox
Diffstat (limited to 'src/object')
-rw-r--r--src/object/sp-offset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp
index 667fdf9c3..b837d7855 100644
--- a/src/object/sp-offset.cpp
+++ b/src/object/sp-offset.cpp
@@ -412,7 +412,7 @@ void SPOffset::set_shape() {
theRes->ConvertToForme (orig, 1, originaux);
- Geom::OptRect bbox = this->desktopVisualBounds();
+ Geom::OptRect bbox = this->documentVisualBounds();
if ( bbox ) {
gdouble size = L2(bbox->dimensions());