diff --git a/src/rubberband.cpp b/src/rubberband.cpp
index 7c43da9ea28dfa1114576b5679264a4d5acbc533..76743cf8b6017f578148c507fe3406ab9f4fa516 100644 (file)
--- a/src/rubberband.cpp
+++ b/src/rubberband.cpp
_mode = mode;
}
-boost::optional<Geom::Rect> Inkscape::Rubberband::getRectangle() const
+Geom::OptRect Inkscape::Rubberband::getRectangle() const
{
if (!_started) {
- return boost::optional<Geom::Rect>();
+ return Geom::OptRect();
}
return Geom::Rect(_start, _end);