Code

NR::Maybe => boost::optional
[inkscape.git] / src / flood-context.cpp
index b11d32f8a1d9b0ab2e89ddac684fb397be782443..0c284db68537b7428968a5303097e82efc72c1af 100644 (file)
@@ -801,7 +801,7 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even
     sp_document_ensure_up_to_date (document);
     
     SPItem *document_root = SP_ITEM(SP_DOCUMENT_ROOT(document));
-    NR::Maybe<NR::Rect> bbox = document_root->getBounds(NR::identity());
+    boost::optional<NR::Rect> bbox = document_root->getBounds(NR::identity());
 
     if (!bbox) {
         desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("<b>Area is not bounded</b>, cannot fill."));