summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolygontriangulator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolygontriangulator.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygontriangulator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolygontriangulator.cxx b/basegfx/source/polygon/b2dpolygontriangulator.cxx
index 8d1948edaf9a..ccc0680134dc 100644
--- a/basegfx/source/polygon/b2dpolygontriangulator.cxx
+++ b/basegfx/source/polygon/b2dpolygontriangulator.cxx
@@ -228,9 +228,9 @@ namespace basegfx
const B2DPolygon aPolygonCandidate(rCandidate.getB2DPolygon(a));
const sal_uInt32 nCount(aPolygonCandidate.count());
- if(nCount > 2L)
+ if(nCount > 2)
{
- B2DPoint aPrevPnt(aPolygonCandidate.getB2DPoint(nCount - 1L));
+ B2DPoint aPrevPnt(aPolygonCandidate.getB2DPoint(nCount - 1));
for(sal_uInt32 b(0); b < nCount; b++)
{
@@ -396,12 +396,12 @@ namespace basegfx
aCandidate.removeDoublePoints();
aCandidate = tools::removeNeutralPoints(aCandidate);
- if(2L == aCandidate.count())
+ if(2 == aCandidate.count())
{
// candidate IS a triangle, just append
aRetval.append(aCandidate);
}
- else if(aCandidate.count() > 2L)
+ else if(aCandidate.count() > 2)
{
if(tools::isConvex(aCandidate))
{
@@ -427,7 +427,7 @@ namespace basegfx
// subdivide locally (triangulate does not work with beziers)
B2DPolyPolygon aCandidate(rCandidate.areControlPointsUsed() ? tools::adaptiveSubdivideByAngle(rCandidate) : rCandidate);
- if(1L == aCandidate.count())
+ if(1 == aCandidate.count())
{
// single polygon -> single polygon triangulation
const B2DPolygon aSinglePolygon(aCandidate.getB2DPolygon(0));