diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-27 12:50:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-27 21:29:38 +0000 |
commit | b8f24c52c4d3c4ed562fe6c7ae8fa17218a66c1e (patch) | |
tree | 0be7c05f0daf67e00263c14cd23fb4bacbafee79 /basegfx/inc | |
parent | 6cbf9907898026913ea49abfe6399ba3efa4bb58 (diff) |
unusedcode.easy: Removed unused code (basegfx::B3DPolygon, basegfx::B3DPolyPolygon)
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolygon.hxx | 7 | ||||
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx | 10 |
2 files changed, 4 insertions, 13 deletions
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx index 34181dd44364..359adf2d7d79 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx @@ -64,7 +64,6 @@ namespace basegfx public: B3DPolygon(); B3DPolygon(const B3DPolygon& rPolygon); - B3DPolygon(const B3DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount); ~B3DPolygon(); // assignment operator @@ -84,8 +83,7 @@ namespace basegfx B3DPoint getB3DPoint(sal_uInt32 nIndex) const; void setB3DPoint(sal_uInt32 nIndex, const B3DPoint& rValue); - // Coordinate insert/append - void insert(sal_uInt32 nIndex, const B3DPoint& rPoint, sal_uInt32 nCount = 1); + // Coordinate append void append(const B3DPoint& rPoint, sal_uInt32 nCount = 1); // BColor interface @@ -109,8 +107,7 @@ namespace basegfx bool areTextureCoordinatesUsed() const; void clearTextureCoordinates(); - // insert/append other 2D polygons - void insert(sal_uInt32 nIndex, const B3DPolygon& rPoly, sal_uInt32 nIndex2 = 0, sal_uInt32 nCount = 0); + // append other 2D polygons void append(const B3DPolygon& rPoly, sal_uInt32 nIndex = 0, sal_uInt32 nCount = 0); // remove diff --git a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx index 1964e5f78a4f..98ba7cc27892 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx @@ -64,9 +64,6 @@ namespace basegfx // assignment operator B3DPolyPolygon& operator=(const B3DPolyPolygon& rPolyPolygon); - /// unshare this poly-polygon (and all included polygons) with all internally shared instances - void makeUnique(); - // compare operators bool operator==(const B3DPolyPolygon& rPolyPolygon) const; bool operator!=(const B3DPolyPolygon& rPolyPolygon) const; @@ -92,12 +89,10 @@ namespace basegfx bool areTextureCoordinatesUsed() const; void clearTextureCoordinates(); - // insert/append single polygon - void insert(sal_uInt32 nIndex, const B3DPolygon& rPolygon, sal_uInt32 nCount = 1); + // append single polygon void append(const B3DPolygon& rPolygon, sal_uInt32 nCount = 1); - // insert/append multiple polygons - void insert(sal_uInt32 nIndex, const B3DPolyPolygon& rPolyPolygon); + // append multiple polygons void append(const B3DPolyPolygon& rPolyPolygon); // remove @@ -108,7 +103,6 @@ namespace basegfx // closed state bool isClosed() const; - void setClosed(bool bNew); // flip polygon direction void flip(); |