diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index 34c839c6f04635cf85b4440d1df51a2979672b1f..657850ec7bf1ba3ebd835ddcce86e654b742f4ee 100644 (file)
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
// by the sp_*_update functions, e.g., text.
sp_document_ensure_up_to_date(item->document);
- boost::optional<Geom::Rect> rHull = item->getBounds(sp_item_i2doc_affine(item));
+ Geom::OptRect rHull = item->getBounds(sp_item_i2doc_affine(item));
if (!rHull) {
return Avoid::newPoly(0);
}