X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fconnector-context.cpp;h=5e2cdc2b80612d7dbd36a44a684f76c2f50e210a;hb=8b9a820756fdf348239872236be2257f854e094a;hp=1a77008f1cb2ab7236d2fa7f5a0540b5fdcd5ae3;hpb=34109961a6de6f936a370e48822f1bad70bc84b2;p=inkscape.git diff --git a/src/connector-context.cpp b/src/connector-context.cpp index 1a77008f1..5e2cdc2b8 100644 --- a/src/connector-context.cpp +++ b/src/connector-context.cpp @@ -1148,7 +1148,7 @@ static void cc_set_active_shape(SPConnectorContext *cc, SPItem *item) } - NR::Maybe bbox = sp_item_bbox_desktop(cc->active_shape); + boost::optional bbox = sp_item_bbox_desktop(cc->active_shape); if (bbox) { NR::Point center = bbox->midpoint(); sp_knot_set_position(cc->connpthandle, center, 0);