summaryrefslogtreecommitdiff
path: root/basegfx
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
parentfddb49383d99958ad065f1cd60acc5a70b873bfb (diff)
loplugin: defaultparams
Change-Id: I29ef505ee77965df33677f8051ec39398ef0c74e
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx6
-rw-r--r--basegfx/source/polygon/b3dpolygontools.cxx2
-rw-r--r--basegfx/source/tools/b2dclipstate.cxx6
-rw-r--r--basegfx/source/tools/stringconversiontools.cxx2
5 files changed, 9 insertions, 9 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;
}
diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx
index 90e5b31b8489..65a179fa58df 100644
--- a/basegfx/source/tools/b2dclipstate.cxx
+++ b/basegfx/source/tools/b2dclipstate.cxx
@@ -245,7 +245,7 @@ namespace tools
// first union all pending ones, subtract en bloc then
maPendingPolygons = solveCrossovers(maPendingPolygons);
maPendingPolygons = stripNeutralPolygons(maPendingPolygons);
- maPendingPolygons = stripDispensablePolygons(maPendingPolygons, false);
+ maPendingPolygons = stripDispensablePolygons(maPendingPolygons);
if( bIsCleared )
{
@@ -290,7 +290,7 @@ namespace tools
aCollectedRanges = maPendingRanges.solveCrossovers();
aCollectedRanges = stripNeutralPolygons(aCollectedRanges);
- aCollectedRanges = stripDispensablePolygons(aCollectedRanges, false);
+ aCollectedRanges = stripDispensablePolygons(aCollectedRanges);
if( bIsEmpty )
maClipPoly = aCollectedRanges;
else
@@ -347,7 +347,7 @@ namespace tools
// first union all pending ranges, subtract en bloc then
aCollectedRanges = maPendingRanges.solveCrossovers();
aCollectedRanges = stripNeutralPolygons(aCollectedRanges);
- aCollectedRanges = stripDispensablePolygons(aCollectedRanges, false);
+ aCollectedRanges = stripDispensablePolygons(aCollectedRanges);
if( bIsCleared )
{
diff --git a/basegfx/source/tools/stringconversiontools.cxx b/basegfx/source/tools/stringconversiontools.cxx
index 4fcbbc77e9c2..cd380f5ee9f4 100644
--- a/basegfx/source/tools/stringconversiontools.cxx
+++ b/basegfx/source/tools/stringconversiontools.cxx
@@ -171,7 +171,7 @@ namespace basegfx
const sal_Int32 aLen( rStr.getLength() );
if(aLen)
{
- if( isOnNumberChar(rStr[aLen - 1], false, true) &&
+ if( isOnNumberChar(rStr[aLen - 1], false) &&
fValue >= 0.0 )
{
rStr.append( ' ' );