Code

Disable the page selector when there's only one page
[inkscape.git] / src / libnr / nr-rect.cpp
index 70ab71850836d5b5941bcad5da75eccf08ecfdfb..72bced37bb048ca9337d8c03658710f412c2dd81 100644 (file)
@@ -247,16 +247,6 @@ Rect::Rect(const Point &p0, const Point &p1)
   _max(std::max(p0[X], p1[X]), std::max(p0[Y], p1[Y]))
 {}
 
-Rect::Rect(NRRect *r)
-    : _min(r->x0, r->y0),
-      _max(r->x1, r->y1)
-{}
-
-Rect::Rect(NRRectL *r)
-    : _min(r->x0, r->y0),
-      _max(r->x1, r->y1)
-{}
-
 /** returns the four corners of the rectangle in the correct winding order */
 Point Rect::corner(unsigned i) const {
        switch (i % 4) {