index 1a77008f1cb2ab7236d2fa7f5a0540b5fdcd5ae3..5e2cdc2b80612d7dbd36a44a684f76c2f50e210a 100644 (file)
}
- NR::Maybe<NR::Rect> bbox = sp_item_bbox_desktop(cc->active_shape);
+ boost::optional<NR::Rect> bbox = sp_item_bbox_desktop(cc->active_shape);
if (bbox) {
NR::Point center = bbox->midpoint();
sp_knot_set_position(cc->connpthandle, center, 0);