diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-15 08:48:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-15 09:02:34 +0200 |
commit | 86c280acb528048131d233d96ce95848c6acf683 (patch) | |
tree | 3ce31467c7d4f35d4e4cb9eda1fecbd7c6df2708 /linguistic/source/lngopt.cxx | |
parent | af047fc242c51d97477c109653a98749d2af335d (diff) |
linguistic: sal_Bool->bool
Change-Id: Ifed60967edd768b16cafba3c2293149610138213
Diffstat (limited to 'linguistic/source/lngopt.cxx')
-rw-r--r-- | linguistic/source/lngopt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index fb5bcff2ea42..5176c38115d4 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -195,7 +195,7 @@ LinguProps::LinguProps() : aPropListeners (GetLinguMutex()), aPropertyMap(lcl_GetLinguProps()) { - bDisposing = sal_False; + bDisposing = false; } void LinguProps::launchEvent( const PropertyChangeEvent &rEvt ) const @@ -387,7 +387,7 @@ void SAL_CALL if (!bDisposing) { - bDisposing = sal_True; + bDisposing = true; //! its too late to save the options here! // (see AppExitListener for saving) @@ -456,10 +456,10 @@ uno::Sequence< OUString > LinguProps::getSupportedServiceNames_Static() return aSNS; } -sal_Bool LinguProps::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException) +bool LinguProps::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException) { uno::Any any = getPropertyValue(aPropertyName); - sal_Bool b = sal_False; + bool b = false; any >>= b; return b; } |