Code

NR::Maybe => boost::optional
[inkscape.git] / src / gradient-drag.cpp
index 71b71b1c3c0fda3daa08def877b2b8fe14817532..1657288cced11b8990666a2b38e301b52e22363d 100644 (file)
@@ -1723,7 +1723,7 @@ GrDrag::updateLevels ()
 
     for (GSList const* i = this->selection->itemList(); i != NULL; i = i->next) {
         SPItem *item = SP_ITEM(i->data);
-        NR::Maybe<NR::Rect> rect = sp_item_bbox_desktop (item);
+        boost::optional<NR::Rect> rect = sp_item_bbox_desktop (item);
         if (rect) {
             // Remember the edges of the bbox and the center axis
             hor_levels.push_back(rect->min()[NR::Y]);