diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp
index c94e75f714cfa29c8fa8f70cc77189fe009c74bc..91ff4bc2bf3fd1a3d85f6723f120c01e9875078a 100644 (file)
--- a/src/sp-conn-end.cpp
+++ b/src/sp-conn-end.cpp
*(path->curve->penultimate_point())
};
for (unsigned h = 0; h < 2; ++h) {
- boost::optional<Geom::Rect> bbox = h2attItem[h]->getBounds(Geom::identity());
+ Geom::OptRect bbox = h2attItem[h]->getBounds(Geom::identity());
if (!bbox) {
if (updatePathRepr) {
path->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
Geom::Rect otherpt_rect = Geom::Rect(other_endpt, other_endpt);
Geom::Rect h2bbox_icoordsys[2] = { otherpt_rect, otherpt_rect };
- boost::optional<Geom::Rect> bbox = h2attItem[ind]->getBounds(NR::identity());
+ Geom::OptRect bbox = h2attItem[ind]->getBounds(Geom::identity());
if (!bbox) {
if (updatePathRepr) {
path->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);