diff options
author | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 07:38:29 +0000 |
---|---|---|
committer | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 07:38:29 +0000 |
commit | affeb06b7b479a805651e06442afe821f1af8379 (patch) | |
tree | 71cd166c757bc49d0d4e72013dd4109ae9affc17 /basegfx | |
parent | 8e4d6d49c8879f7a4384c6d0b0b2cd0f621ea0a5 (diff) |
INTEGRATION: CWS aw019 (1.4.8); FILE MERGED
2004/10/13 08:30:45 aw 1.4.8.1: #i34831#
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b3dpolygontools.cxx | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx index 965f1e7363d0..94acc06220fd 100644 --- a/basegfx/source/polygon/b3dpolygontools.cxx +++ b/basegfx/source/polygon/b3dpolygontools.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dpolygontools.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2004-08-03 13:31:03 $ + * last change: $Author: pjunck $ $Date: 2004-11-03 08:38:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,46 +132,6 @@ namespace basegfx } } - sal_uInt32 getIndexOfDifferentPredecessor(sal_uInt32 nIndex, const ::basegfx::B3DPolygon& rCandidate) - { - sal_uInt32 nNewIndex(nIndex); - OSL_ENSURE(nIndex < rCandidate.count(), "getIndexOfPredecessor: Access to polygon out of range (!)"); - - if(rCandidate.count() > 1) - { - nNewIndex = getIndexOfPredecessor(nIndex, rCandidate); - ::basegfx::B3DPoint aPoint(rCandidate.getB3DPoint(nIndex)); - - while(nNewIndex != nIndex - && aPoint.equal(rCandidate.getB3DPoint(nNewIndex))) - { - nNewIndex = getIndexOfPredecessor(nNewIndex, rCandidate); - } - } - - return nNewIndex; - } - - sal_uInt32 getIndexOfDifferentSuccessor(sal_uInt32 nIndex, const ::basegfx::B3DPolygon& rCandidate) - { - sal_uInt32 nNewIndex(nIndex); - OSL_ENSURE(nIndex < rCandidate.count(), "getIndexOfPredecessor: Access to polygon out of range (!)"); - - if(rCandidate.count() > 1) - { - nNewIndex = getIndexOfSuccessor(nIndex, rCandidate); - ::basegfx::B3DPoint aPoint(rCandidate.getB3DPoint(nIndex)); - - while(nNewIndex != nIndex - && aPoint.equal(rCandidate.getB3DPoint(nNewIndex))) - { - nNewIndex = getIndexOfSuccessor(nNewIndex, rCandidate); - } - } - - return nNewIndex; - } - ::basegfx::B3DRange getRange(const ::basegfx::B3DPolygon& rCandidate) { ::basegfx::B3DRange aRetval; |