Code

3DBox tool: snap the first point of the drag action
[inkscape.git] / src / rubberband.cpp
index 7c43da9ea28dfa1114576b5679264a4d5acbc533..76743cf8b6017f578148c507fe3406ab9f4fa516 100644 (file)
@@ -124,10 +124,10 @@ void Inkscape::Rubberband::setMode(int mode)
     _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);