Code

NR::Maybe => boost::optional
[inkscape.git] / src / dialogs / stroke-style.cpp
index 7d9aa84a6559d5312b03bfab0811d193a0a2360a..ae387e5f84e6a2f004cf08813f3c7daca3a5e91c 100644 (file)
@@ -615,7 +615,7 @@ sp_marker_prev_new(unsigned psize, gchar const *mname,
 
     // Find object's bbox in document
     Geom::Matrix const i2doc(sp_item_i2doc_affine(SP_ITEM(object)));
-    NR::Maybe<NR::Rect> dbox = SP_ITEM(object)->getBounds(from_2geom(i2doc));
+    boost::optional<NR::Rect> dbox = SP_ITEM(object)->getBounds(from_2geom(i2doc));
 
     if (!dbox) {
         return NULL;