diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-03-19 02:59:59 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-03-19 02:59:59 +0000 |
| commit | 0d34ab6ef638f5d4c6157b01d5700910008f1fbf (patch) | |
| tree | 42f319545d77c57dcd69b78c2c1184eb4d316fb0 /src | |
| parent | * packaging/macosx/native-gtk/glibconfig.h, (diff) | |
| download | inkscape-0d34ab6ef638f5d4c6157b01d5700910008f1fbf.tar.gz inkscape-0d34ab6ef638f5d4c6157b01d5700910008f1fbf.zip | |
reremove bad constructors
(bzr r2708)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnr/nr-rect.cpp | 10 | ||||
| -rw-r--r-- | src/libnr/nr-rect.h | 5 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp index 70ab71850..72bced37b 100644 --- a/src/libnr/nr-rect.cpp +++ b/src/libnr/nr-rect.cpp @@ -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) { diff --git a/src/libnr/nr-rect.h b/src/libnr/nr-rect.h index 2439df95d..04f446487 100644 --- a/src/libnr/nr-rect.h +++ b/src/libnr/nr-rect.h @@ -25,9 +25,6 @@ #include <libnr/nr-maybe.h> #include <libnr/nr-point-matrix-ops.h> -struct NRRect; -struct NRRectL; - namespace NR { struct Matrix; @@ -42,8 +39,6 @@ class Rect { public: Rect() : _min(-_inf(), -_inf()), _max(_inf(), _inf()) {} Rect(Point const &p0, Point const &p1); - Rect(NRRect *r); - Rect(NRRectL *r); Point const &min() const { return _min; } Point const &max() const { return _max; } |
