summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.cpp')
-rw-r--r--src/selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection.cpp b/src/selection.cpp
index 3c4ccccf2..3007a3d1f 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -403,7 +403,7 @@ NRRect *Selection::boundsInDocument(NRRect *bbox, SPItem::BBoxType type) const {
Geom::OptRect Selection::boundsInDocument(SPItem::BBoxType type) const {
NRRect r;
- return to_2geom(boundsInDocument(&r, type)->upgrade());
+ return to_2geom(boundsInDocument(&r, type));
}
/** Extract the position of the center from the first selected object */