Code

Fix behavior when loading a document
[inkscape.git] / src / libnr / nr-rect.h
index 83f780efdd051fadd7bf8f5b271e3e90b979ca60..c074b00347c34160ea1bee9e6da0bb5f25128c7e 100644 (file)
@@ -244,9 +244,9 @@ struct NRRect {
     explicit NRRect(boost::optional<NR::Rect> const &rect);
     operator boost::optional<NR::Rect>() const { return upgrade(); }
     boost::optional<NR::Rect> upgrade() const;
-    explicit NRRect(boost::optional<Geom::Rect> const &rect);
-    operator boost::optional<Geom::Rect>() const { return upgrade_2geom(); }
-    boost::optional<Geom::Rect> upgrade_2geom() const;
+    explicit NRRect(Geom::OptRect const &rect);
+    operator Geom::OptRect() const { return upgrade_2geom(); }
+    Geom::OptRect upgrade_2geom() const;
 
     NR::Coord x0, y0, x1, y1;
 };