summaryrefslogtreecommitdiffstats
path: root/src/connector-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connector-context.cpp')
-rw-r--r--src/connector-context.cpp2
1 files changed, 1 insertions, 1 deletions
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<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);