diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-02-01 16:34:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-01 16:34:50 +0000 |
commit | b3c3e116ff0eb9b550b73d3901395c042e31d192 (patch) | |
tree | 10814ac19c46bffb767d25e9ec408531d3878c14 /basegfx/source/polygon/b2dpolygon.cxx | |
parent | bc8fa08a7ae48f68ee5578cb7820336c70898202 (diff) |
unusedcode.easy: Removed unused code
Diffstat (limited to 'basegfx/source/polygon/b2dpolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygon.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx index a7749220931c..3d7b9487ccb4 100644 --- a/basegfx/source/polygon/b2dpolygon.cxx +++ b/basegfx/source/polygon/b2dpolygon.cxx @@ -1484,30 +1484,6 @@ namespace basegfx return mpPolygon->getB2DRange(*this); } - void B2DPolygon::insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2, sal_uInt32 nCount) - { - OSL_ENSURE(nIndex <= mpPolygon->count(), "B2DPolygon Insert outside range (!)"); - - if(rPoly.count()) - { - if(!nCount) - { - nCount = rPoly.count(); - } - - if(0 == nIndex2 && nCount == rPoly.count()) - { - mpPolygon->insert(nIndex, *rPoly.mpPolygon); - } - else - { - OSL_ENSURE(nIndex2 + nCount <= rPoly.mpPolygon->count(), "B2DPolygon Insert outside range (!)"); - ImplB2DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount); - mpPolygon->insert(nIndex, aTempPoly); - } - } - } - void B2DPolygon::append(const B2DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) { if(rPoly.count()) |