diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:41:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | 4f87e9da415632f52a0b212a0005baa991e0585f (patch) | |
tree | eeda6d0f9cd0e34d42737b24710993b8fd699f82 /basegfx/source/tools | |
parent | fddb49383d99958ad065f1cd60acc5a70b873bfb (diff) |
loplugin: defaultparams
Change-Id: I29ef505ee77965df33677f8051ec39398ef0c74e
Diffstat (limited to 'basegfx/source/tools')
-rw-r--r-- | basegfx/source/tools/b2dclipstate.cxx | 6 | ||||
-rw-r--r-- | basegfx/source/tools/stringconversiontools.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
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( ' ' ); |