X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fwidget%2Fobject-composite-settings.cpp;h=d4c1bb7053d7038910d1c49c32e77036947f6f04;hb=8b9a820756fdf348239872236be2257f854e094a;hp=638f1a70c5b3f03449214ad7c420304914a1cbc7;hpb=34109961a6de6f936a370e48822f1bad70bc84b2;p=inkscape.git diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp index 638f1a70c..d4c1bb705 100644 --- a/src/ui/widget/object-composite-settings.cpp +++ b/src/ui/widget/object-composite-settings.cpp @@ -114,7 +114,7 @@ ObjectCompositeSettings::_blendBlurValueChanged() // FIXME: fix for GTK breakage, see comment in SelectedStyle::on_opacity_changed; here it results in crash 1580903 sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0); - NR::Maybe bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); + boost::optional bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); double radius; if (bbox) { double perimeter = bbox->extent(Geom::X) + bbox->extent(Geom::Y); @@ -260,7 +260,7 @@ ObjectCompositeSettings::_subjectChanged() { case QUERY_STYLE_SINGLE: case QUERY_STYLE_MULTIPLE_AVERAGED: case QUERY_STYLE_MULTIPLE_SAME: - NR::Maybe bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); + boost::optional bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); if (bbox) { double perimeter = bbox->extent(Geom::X) + bbox->extent(Geom::Y); _fe_cb.set_blur_sensitive(true);