From 629cd5caadc6dced0d0f6b48368c5b6e55ea757e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jan 2012 09:35:58 +0000 Subject: callcatcher: update list --- basegfx/source/polygon/b2dpolygon.cxx | 40 ----------------------------------- 1 file changed, 40 deletions(-) (limited to 'basegfx/source/polygon') diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx index 3bc0401e271e..a7749220931c 100644 --- a/basegfx/source/polygon/b2dpolygon.cxx +++ b/basegfx/source/polygon/b2dpolygon.cxx @@ -1378,17 +1378,6 @@ namespace basegfx } } - void B2DPolygon::resetControlPoints(sal_uInt32 nIndex) - { - OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)"); - - if(mpPolygon->areControlPointsUsed() && - (!mpPolygon->getPrevControlVector(nIndex).equalZero() || !mpPolygon->getNextControlVector(nIndex).equalZero())) - { - mpPolygon->resetControlVectors(nIndex); - } - } - void B2DPolygon::resetControlPoints() { if(mpPolygon->areControlPointsUsed()) @@ -1451,35 +1440,6 @@ namespace basegfx } } - bool B2DPolygon::isBezierSegment(sal_uInt32 nIndex) const - { - OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)"); - - if(mpPolygon->areControlPointsUsed()) - { - // Check if the edge exists - const bool bNextIndexValidWithoutClose(nIndex + 1 < mpPolygon->count()); - - if(bNextIndexValidWithoutClose || mpPolygon->isClosed()) - { - const sal_uInt32 nNextIndex(bNextIndexValidWithoutClose ? nIndex + 1 : 0); - return (!mpPolygon->getPrevControlVector(nNextIndex).equalZero() - || !mpPolygon->getNextControlVector(nIndex).equalZero()); - } - else - { - // no valid edge -> no bezier segment, even when local next - // vector may be used - return false; - } - } - else - { - // no control points -> no bezier segment - return false; - } - } - void B2DPolygon::getBezierSegment(sal_uInt32 nIndex, B2DCubicBezier& rTarget) const { OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)"); -- cgit v1.2.3