Code

Rearrange to enable code that does not directly rely on lcms.
[inkscape.git] / src / removeoverlap / removeoverlap.cpp
index 60bb0e4f9707313315745bc16c148caaec801836..084f95dfea06b461c0848deaae4d51032b5ada34 100644 (file)
@@ -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);