summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/removeoverlap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/removeoverlap/removeoverlap.cpp')
-rw-r--r--src/removeoverlap/removeoverlap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap/removeoverlap.cpp b/src/removeoverlap/removeoverlap.cpp
index 60bb0e4f9..084f95dfe 100644
--- a/src/removeoverlap/removeoverlap.cpp
+++ b/src/removeoverlap/removeoverlap.cpp
@@ -48,7 +48,7 @@ void removeoverlap(GSList const *const items, double const xGap, double const yG
++it)
{
using Geom::X; using Geom::Y;
- boost::optional<Geom::Rect> item_box(sp_item_bbox_desktop(*it));
+ Geom::OptRect item_box(sp_item_bbox_desktop(*it));
if (item_box) {
Geom::Point min(item_box->min() - .5*gap);
Geom::Point max(item_box->max() + .5*gap);