From b617f8eb8c9c9467caa4c15ba71259661d9222ce Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Fri, 9 Mar 2007 00:25:51 +0000 Subject: specialize MaybeStorage for Rect, and start using reference maybes to avoid some copies (bzr r2582) --- src/selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/selection.cpp') diff --git a/src/selection.cpp b/src/selection.cpp index 5c60e5f41..49934cfd3 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -320,7 +320,7 @@ NR::Rect Selection::bounds() const NR::Maybe bbox = NR::Nothing(); for ( GSList const *i = items ; i != NULL ; i = i->next ) { - bbox = NR::Rect::union_bounds(bbox, sp_item_bbox_desktop(SP_ITEM(i->data))); + bbox = NR::union_bounds(bbox, sp_item_bbox_desktop(SP_ITEM(i->data))); } // TODO: return NR::Maybe -- cgit v1.2.3