From 900577c7e71534ec32dcb4e0677a509a6e517b12 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 5 Aug 2008 22:40:31 +0000 Subject: NR::Maybe => boost::optional (bzr r6569) --- src/tweak-context.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tweak-context.cpp') diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp index 70cd49c81..e670a2db4 100644 --- a/src/tweak-context.cpp +++ b/src/tweak-context.cpp @@ -40,7 +40,7 @@ #include "pixmaps/cursor-push.xpm" #include "pixmaps/cursor-roughen.xpm" #include "pixmaps/cursor-color.xpm" -#include "libnr/nr-maybe.h" +#include #include "libnr/nr-matrix-ops.h" #include "libnr/nr-scale-translate-ops.h" #include "xml/repr.h" @@ -366,7 +366,7 @@ sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, NR::Poi // skip those paths whose bboxes are entirely out of reach with our radius - NR::Maybe bbox = item->getBounds(from_2geom(sp_item_i2doc_affine(item))); + boost::optional bbox = item->getBounds(from_2geom(sp_item_i2doc_affine(item))); if (bbox) { bbox->growBy(radius); if (!bbox->contains(p)) { @@ -736,7 +736,7 @@ sp_tweak_color_recursive (guint mode, SPItem *item, SPItem *item_at_point, if (!style) { return false; } - NR::Maybe bbox = item->getBounds(from_2geom(sp_item_i2doc_affine(item)), + boost::optional bbox = item->getBounds(from_2geom(sp_item_i2doc_affine(item)), SPItem::GEOMETRIC_BBOX); if (!bbox) { return false; -- cgit v1.2.3