summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
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/splivarot.cpp
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 '')
-rw-r--r--src/splivarot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 23895fe64..7719a7071 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -2241,7 +2241,7 @@ sp_selected_path_simplify_items(SPDesktop *desktop,
continue;
if (simplifyIndividualPaths) {
- Geom::OptRect itemBbox = item->desktopVisualBounds();
+ Geom::OptRect itemBbox = item->documentVisualBounds();
if (itemBbox) {
simplifySize = L2(itemBbox->dimensions());
} else {