summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:41:13 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:17 +0200
commit4f87e9da415632f52a0b212a0005baa991e0585f (patch)
treeeeda6d0f9cd0e34d42737b24710993b8fd699f82 /basegfx/source/polygon
parentfddb49383d99958ad065f1cd60acc5a70b873bfb (diff)
loplugin: defaultparams
Change-Id: I29ef505ee77965df33677f8051ec39398ef0c74e
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx6
-rw-r--r--basegfx/source/polygon/b3dpolygontools.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 3c634418bd9c..6efeb7802f46 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -391,7 +391,7 @@ namespace basegfx
{
const B2DPolygon aCandidate(rCandidate.areControlPointsUsed() ? rCandidate.getDefaultAdaptiveSubdivision() : rCandidate);
- if(bWithBorder && isPointOnPolygon(aCandidate, rPoint, true))
+ if(bWithBorder && isPointOnPolygon(aCandidate, rPoint))
{
return true;
}
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 07c45ad447cc..6cefd12f70e9 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -522,7 +522,7 @@ namespace basegfx
if(nOriginalCount)
{
- B2DPolyPolygon aGeometry(tools::addPointsAtCutsAndTouches(maOriginal, true));
+ B2DPolyPolygon aGeometry(tools::addPointsAtCutsAndTouches(maOriginal));
aGeometry.removeDoublePoints();
aGeometry = tools::simplifyCurveSegments(aGeometry);
mbIsCurve = aGeometry.areControlPointsUsed();
@@ -946,7 +946,7 @@ namespace basegfx
aRetval = solveCrossovers(aRetval);
aRetval = stripNeutralPolygons(aRetval);
- return stripDispensablePolygons(aRetval, false);
+ return stripDispensablePolygons(aRetval);
}
}
@@ -1023,7 +1023,7 @@ namespace basegfx
aRetval = basegfx::tools::solveCrossovers(aRetval);
aRetval = basegfx::tools::stripNeutralPolygons(aRetval);
- return basegfx::tools::stripDispensablePolygons(aRetval, false);
+ return basegfx::tools::stripDispensablePolygons(aRetval);
}
}
diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx
index 4883a3a3d679..7f537abea552 100644
--- a/basegfx/source/polygon/b3dpolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolygontools.cxx
@@ -468,7 +468,7 @@ namespace basegfx
bool isInside(const B3DPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder)
{
- if(bWithBorder && isPointOnPolygon(rCandidate, rPoint, true))
+ if(bWithBorder && isPointOnPolygon(rCandidate, rPoint))
{
return true;
}