Code

NR::Maybe => boost::optional
[inkscape.git] / src / extension / internal / grid.cpp
index 534d4bcda632f96d7dbdd618bb29620c39454b95..e206b2a68dddf9bee4adcb121e4873c2fb5f910c 100644 (file)
@@ -86,7 +86,7 @@ Grid::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::View *doc
                                  NR::Point(sp_document_width(doc),
                                            sp_document_height(doc)));
     } else {
-        NR::Maybe<NR::Rect> bounds = selection->bounds();
+        boost::optional<NR::Rect> bounds = selection->bounds();
         if (bounds) {
             bounding_area = *bounds;
         }