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/dialogs/unclump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dialogs/unclump.cpp') diff --git a/src/dialogs/unclump.cpp b/src/dialogs/unclump.cpp index 73131384f..923c44add 100644 --- a/src/dialogs/unclump.cpp +++ b/src/dialogs/unclump.cpp @@ -35,7 +35,7 @@ unclump_center (SPItem *item) return i->second; } - NR::Maybe r = item->getBounds(from_2geom(sp_item_i2d_affine(item))); + boost::optional r = item->getBounds(from_2geom(sp_item_i2d_affine(item))); if (r) { NR::Point const c = r->midpoint(); c_cache[SP_OBJECT_ID(item)] = c; @@ -54,7 +54,7 @@ unclump_wh (SPItem *item) if ( i != wh_cache.end() ) { wh = i->second; } else { - NR::Maybe r = item->getBounds(from_2geom(sp_item_i2d_affine(item))); + boost::optional r = item->getBounds(from_2geom(sp_item_i2d_affine(item))); if (r) { wh = r->dimensions(); wh_cache[SP_OBJECT_ID(item)] = wh; -- cgit v1.2.3