diff --git a/src/rubberband.cpp b/src/rubberband.cpp
index 7c43da9ea28dfa1114576b5679264a4d5acbc533..398f01d3e38e971acf40339432b8796c9326268f 100644 (file)
--- a/src/rubberband.cpp
+++ b/src/rubberband.cpp
-#define __RUBBERBAND_C__
-
/**
* \file src/rubberband.cpp
* \brief Rubberbanding selector
/**
* \file src/rubberband.cpp
* \brief Rubberbanding selector
#include "desktop.h"
#include "desktop-handles.h"
#include "rubberband.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "rubberband.h"
+#include "display/sp-canvas.h"
+#include "display/sp-canvas-item.h"
#include "display/canvas-bpath.h"
#include "display/curve.h"
#include "display/canvas-bpath.h"
#include "display/curve.h"
_mode = mode;
}
_mode = mode;
}
-boost::optional<Geom::Rect> Inkscape::Rubberband::getRectangle() const
+Geom::OptRect Inkscape::Rubberband::getRectangle() const
{
if (!_started) {
{
if (!_started) {
- return boost::optional<Geom::Rect>();
+ return Geom::OptRect();
}
return Geom::Rect(_start, _end);
}
return Geom::Rect(_start, _end);
fill-column:99
End:
*/
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :