X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fgradient-drag.cpp;h=1657288cced11b8990666a2b38e301b52e22363d;hb=8b9a820756fdf348239872236be2257f854e094a;hp=71b71b1c3c0fda3daa08def877b2b8fe14817532;hpb=34109961a6de6f936a370e48822f1bad70bc84b2;p=inkscape.git diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index 71b71b1c3..1657288cc 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -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 rect = sp_item_bbox_desktop (item); + boost::optional 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]);