diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dpolygon.hxx | 1 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygon.hxx | 1 | ||||
-rw-r--r-- | include/tools/gen.hxx | 16 | ||||
-rw-r--r-- | include/vcl/outdev.hxx | 2 |
4 files changed, 0 insertions, 20 deletions
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index 346b4c587693..e74b458ec3af 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -78,7 +78,6 @@ namespace basegfx /// Coordinate interface basegfx::B2DPoint const & getB2DPoint(sal_uInt32 nIndex) const; void setB2DPoint(sal_uInt32 nIndex, const basegfx::B2DPoint& rValue); - basegfx::B2DPoint const & operator[](sal_uInt32 nIndex) const { return getB2DPoint(nIndex); } /// Coordinate insert/append void insert(sal_uInt32 nIndex, const basegfx::B2DPoint& rPoint, sal_uInt32 nCount = 1); diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx index ee8372d0aeb5..010815c8784e 100644 --- a/include/basegfx/polygon/b2dpolypolygon.hxx +++ b/include/basegfx/polygon/b2dpolypolygon.hxx @@ -68,7 +68,6 @@ namespace basegfx B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const; void setB2DPolygon(sal_uInt32 nIndex, const B2DPolygon& rPolygon); - B2DPolygon const & operator[](sal_uInt32 nIndex) const { return getB2DPolygon(nIndex); } // test for curve bool areControlPointsUsed() const; diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index 0acef174718c..4f6927c62f0b 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -25,8 +25,6 @@ #include <algorithm> #include <ostream> #include <config_options.h> -#include <basegfx/point/b2dpoint.hxx> -#include <basegfx/range/b2drectangle.hxx> class SvStream; namespace rtl @@ -75,7 +73,6 @@ class SAL_WARN_UNUSED UNLESS_MERGELIBS(SAL_DLLPUBLIC_EXPORT) Point final : prote public: Point() {} Point( long nX, long nY ) : Pair( nX, nY ) {} - Point(basegfx::B2DPoint const & rPoint) : Pair(rPoint.getX(), rPoint.getY()) {} long X() const { return nA; } long Y() const { return nB; } @@ -106,8 +103,6 @@ public: Pair const & toPair() const { return *this; } Pair & toPair() { return *this; } - operator basegfx::B2DPoint() const { return basegfx::B2DPoint(nA, nB); } - using Pair::toString; }; @@ -390,7 +385,6 @@ public: /// Constructs an empty Rectangle, with top/left at the specified params Rectangle( long nLeft, long nTop ); Rectangle( const Point& rLT, const Size& rSize ); - Rectangle( basegfx::B2DRectangle const & ); static Rectangle Justify( const Point& rLT, const Point& rRB ); @@ -486,8 +480,6 @@ public: void SaturatingSetX(long x); void SaturatingSetY(long y); - operator basegfx::B2DRectangle() const { return basegfx::B2DRectangle(nLeft, nTop, nRight, nBottom); } - private: long nLeft; long nTop; @@ -534,14 +526,6 @@ inline tools::Rectangle::Rectangle( const Point& rLT, const Size& rSize ) nBottom = rSize.Height() ? nTop+(rSize.Height()-1) : RECT_EMPTY; } -inline tools::Rectangle::Rectangle( const basegfx::B2DRectangle& rRect ) -{ - nLeft = rRect.getMinX(); - nTop = rRect.getMinY(); - nRight = !rRect.isEmpty() ? rRect.getMaxX() : RECT_EMPTY; - nBottom = !rRect.isEmpty() ? rRect.getMaxY() : RECT_EMPTY; -} - inline bool tools::Rectangle::IsEmpty() const { return (nRight == RECT_EMPTY) || (nBottom == RECT_EMPTY); diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index fcf57bb74beb..14b03507dfe3 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -803,8 +803,6 @@ public: */ void DrawPolyLine( const tools::Polygon& rPoly, const LineInfo& rLineInfo ); - void DrawPolyLine( const basegfx::B2DPolygon& rPoly, - const LineInfo& rLineInfo ); // #i101491# // Helper who tries to use SalGDI's DrawPolyLine direct and returns it's bool. |