Code

NR::Maybe => boost::optional
[inkscape.git] / src / sp-item-group.cpp
index 80089df35d3be643fdb5b8b4d80df64c9546ab36..186b766635f1115ee63e0817401f4fd83af249c5 100644 (file)
@@ -696,7 +696,7 @@ void CGroup::onModified(guint flags) {
 
 void CGroup::calculateBBox(NRRect *bbox, NR::Matrix const &transform, unsigned const flags) {
 
-    NR::Maybe<NR::Rect> dummy_bbox = NR::Nothing();
+    boost::optional<NR::Rect> dummy_bbox;
 
     GSList *l = _group->childList(false, SPObject::ActionBBox);
     while (l) {