diff options
-rw-r--r-- | basegfx/source/polygon/b2dpolygontools.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 6 | ||||
-rw-r--r-- | basegfx/source/polygon/b3dpolygontools.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/tools/b2dclipstate.cxx | 6 | ||||
-rw-r--r-- | basegfx/source/tools/stringconversiontools.cxx | 2 | ||||
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 4 | ||||
-rw-r--r-- | basic/source/classes/sb.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/dim.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/exprgen.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/inputbox.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/iosys.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/methods1.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 6 | ||||
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/accessiblewrapper.cxx | 2 |
16 files changed, 23 insertions, 23 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( ' ' ); diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 8aa4ae4689c0..28b48c2e2fe9 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -649,7 +649,7 @@ void BasicManager::SetLibraryContainerInfo( const LibraryContainerInfo& rInfo ) StarBASIC* pLib = rBasLibInfo.GetLib(); if( !pLib ) { - bool bLoaded = ImpLoadLibrary( &rBasLibInfo, NULL, false ); + bool bLoaded = ImpLoadLibrary( &rBasLibInfo, NULL ); if( bLoaded ) pLib = rBasLibInfo.GetLib(); } @@ -1369,7 +1369,7 @@ bool BasicManager::LoadLib( sal_uInt16 nLib ) } else { - bDone = ImpLoadLibrary( &rLibInfo, NULL, false ); + bDone = ImpLoadLibrary( &rLibInfo, NULL ); StarBASIC* pLib = GetLib( nLib ); if ( pLib ) { diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index c4d76ce89988..0fb82bfba764 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -2101,7 +2101,7 @@ void BasicCollection::Initialize() if ( !xAddInfo.Is() ) { xAddInfo = new SbxInfo; - xAddInfo->AddParam( OUString( "Item" ), SbxVARIANT, SbxFlagBits::Read ); + xAddInfo->AddParam( OUString( "Item" ), SbxVARIANT ); xAddInfo->AddParam( OUString( "Key" ), SbxVARIANT, SbxFlagBits::Read | SbxFlagBits::Optional ); xAddInfo->AddParam( OUString( "Before" ), SbxVARIANT, SbxFlagBits::Read | SbxFlagBits::Optional ); xAddInfo->AddParam( OUString( "After" ), SbxVARIANT, SbxFlagBits::Read | SbxFlagBits::Optional ); diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 3ced4948fe60..79498cd9aef7 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1827,7 +1827,7 @@ bool SbModule::StoreBinaryData( SvStream& rStrm, sal_uInt16 nVer ) rStrm.WriteUChar( 1 ); if ( nVer ) - bRet = pImage->Save( rStrm, B_EXT_IMG_VERSION ); + bRet = pImage->Save( rStrm ); else bRet = pImage->Save( rStrm, B_LEGACYVERSION ); if ( bFixup ) diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index eaeea2ce2128..2faa00eaf65e 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -1255,7 +1255,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate ) { if ( bVBASupportOn ) { - pProc->SetStatic( true ); + pProc->SetStatic(); } else { diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index cfce00682668..93b8c8226e67 100644 --- a/basic/source/comp/exprgen.cxx +++ b/basic/source/comp/exprgen.cxx @@ -71,7 +71,7 @@ void SbiExprNode::Gen( SbiCodeGen& rGen, RecursiveMode eRecMode ) rGen.Gen( _CONST, (short) nVal ); break; case SbxSTRING: - nStringId = rGen.GetParser()->aGblStrings.Add( aStrVal, true ); + nStringId = rGen.GetParser()->aGblStrings.Add( aStrVal ); rGen.Gen( _SCONST, nStringId ); break; default: diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index 787ed43b0570..6f62e49e97f4 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -143,7 +143,7 @@ IMPL_LINK( SvRTLInputBox, CancelHdl, Button *, pButton ) (void)pButton; aText.clear(); - EndDialog( 0 ); + EndDialog(); return 0; } diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index ccc7b16f077f..c069c6f92c51 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -128,7 +128,7 @@ IMPL_LINK( SbiInputDialog, Cancel, vcl::Window *, pWindow ) { (void)pWindow; - EndDialog( 0 ); + EndDialog(); return 0; } diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 5be77d5a897d..9288ad77d55d 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -185,7 +185,7 @@ RTLFUNC(CallByName) SbiRuntime* pRT = pInst ? pInst->pRun : NULL; if( pRT != NULL ) { - pRT->StepSET_Impl( pValVar, rFindVar, false ); + pRT->StepSET_Impl( pValVar, rFindVar ); } } } diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 303910f1d71b..33346245051e 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -2040,7 +2040,7 @@ void SbiRuntime::StepVBASET() SbxVariableRef refVal = PopVar(); SbxVariableRef refVar = PopVar(); // don't handle default property - StepSET_Impl( refVal, refVar, false ); // set obj = something + StepSET_Impl( refVal, refVar ); // set obj = something } @@ -3301,7 +3301,7 @@ void SbiRuntime::StepSETCLASS_impl( sal_uInt32 nOp1, bool bHandleDflt ) void SbiRuntime::StepVBASETCLASS( sal_uInt32 nOp1 ) { - StepSETCLASS_impl( nOp1, false ); + StepSETCLASS_impl( nOp1 ); } void SbiRuntime::StepSETCLASS( sal_uInt32 nOp1 ) @@ -4510,7 +4510,7 @@ void SbiRuntime::implHandleSbxFlags( SbxVariable* pVar, SbxDataType t, sal_uInt3 { sal_uInt16 nCount = static_cast<sal_uInt16>( nOp2 >> 17 ); // len = all bits above 0x10000 OUStringBuffer aBuf; - comphelper::string::padToLength(aBuf, nCount, 0); + comphelper::string::padToLength(aBuf, nCount); pVar->PutString(aBuf.makeStringAndClear()); } diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 45013f58187e..329d4c2e8ae5 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -859,7 +859,7 @@ void SbxValue::Format( OUString& rRes, const OUString* pFmt ) const // #45355 converting if numeric if( IsNumericRTL() ) { - ScanNumIntnl( GetOUString(), d, /*bSingle*/false ); + ScanNumIntnl( GetOUString(), d ); goto cvt2; } else diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx index 4df790ea9137..b582fc2114c6 100644 --- a/comphelper/source/misc/accessiblewrapper.cxx +++ b/comphelper/source/misc/accessiblewrapper.cxx @@ -180,7 +180,7 @@ namespace comphelper _rOutValue.clear(); Reference< XAccessible > xChild; if ( _rInValue >>= xChild ) - _rOutValue <<= getAccessibleWrapperFor( xChild, true ); + _rOutValue <<= getAccessibleWrapperFor( xChild ); } |