bool improvements

Change-Id: I0ef2adc0bd4a4764c38094b2b7d27c3453ecc117
This commit is contained in:
Stephan Bergmann 2014-01-28 20:00:28 +01:00
parent 608953c425
commit dbac5ccaf8
3 changed files with 5 additions and 5 deletions

View File

@ -137,7 +137,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
sal_Bool bSuccess = sal_False;
Any invokeResult;
bool bCaughtException = sal_False;
bool bCaughtException = false;
Any aException;
if ( m_bInitialised )
@ -233,7 +233,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
invokeResult <<= reason.concat( aException.getValueTypeName() ).concat( e.Message );
bCaughtException = sal_True;
bCaughtException = true;
}
}
else

View File

@ -189,11 +189,11 @@ throw ( Exception, RuntimeException )
// if contex string ends with "uno_packages"
if ( indexOfPkgSpec > -1 && m_sCtxString.match( pkgSpec, indexOfPkgSpec ) )
{
m_bIsPkgMSP = sal_True;
m_bIsPkgMSP = true;
}
else
{
m_bIsPkgMSP = sal_False;
m_bIsPkgMSP = false;
}
}
else // no args

View File

@ -1856,7 +1856,7 @@ OUString StringResourcePersistenceImpl::implGetPathForLocaleItem
{
OUString aFileName = implGetFileNameForLocaleItem( pLocaleItem, aNameBase );
INetURLObject aInetObj( aLocation );
aInetObj.insertName( aFileName, sal_True, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
aInetObj.insertName( aFileName, true, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
if( bDefaultFile )
aInetObj.setExtension( OUString( "default" ) );
else