From 4f87e9da415632f52a0b212a0005baa991e0585f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Aug 2015 08:41:13 +0200 Subject: loplugin: defaultparams Change-Id: I29ef505ee77965df33677f8051ec39398ef0c74e --- basegfx/source/tools/b2dclipstate.cxx | 6 +++--- basegfx/source/tools/stringconversiontools.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'basegfx/source/tools') 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( ' ' ); -- cgit