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 7564fad3a..3c4ccccf2 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -375,7 +375,7 @@ Geom::OptRect Selection::bounds(SPItem::BBoxType type) const
Geom::OptRect bbox;
for ( GSList const *i = items ; i != NULL ; i = i->next ) {
- bbox = unify(bbox, SP_ITEM(i->data)->getBboxDesktop(type));
+ bbox.unionWith(SP_ITEM(i->data)->getBboxDesktop(type));
}
return bbox;
}