diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:00:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:23 +0100 |
commit | dbac5ccaf8fd106ea424d362c0f9b32b7d043543 (patch) | |
tree | e23b07c302ab5e9dfa200f92bad2f376ecd3a171 /scripting | |
parent | 608953c42590c3100eaa46ba686560403d1b8d03 (diff) |
bool improvements
Change-Id: I0ef2adc0bd4a4764c38094b2b7d27c3453ecc117
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 4 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.cxx | 4 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 4aa7e2091b7c..c2fd35de5093 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -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 diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx index 2146436e2c15..1879a1987dac 100644 --- a/scripting/source/provider/MasterScriptProvider.cxx +++ b/scripting/source/provider/MasterScriptProvider.cxx @@ -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 diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 76d414a1deef..4930a8ae7b74 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -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 |