diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 16:08:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:01 +0200 |
commit | e19cd844be171097dddf6319a037b7503ad2c922 (patch) | |
tree | 64ed67787f118d2b97036cc687242002e7bda5ce /linguistic | |
parent | d0e9aa6a2b07cb183dd7f8b06399b28f67588a83 (diff) |
Rephrase comparisons between bool and sal_Bool
...to cater for forthcoming loplugin:implicitboolconversion improvements
Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/dicimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index bdc7c30d8b86..8f42eae393e2 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -768,7 +768,7 @@ void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate ) { MutexGuard aGuard( GetLinguMutex() ); - if ((bIsActive ? 1 : 0) != bActivate) + if (bIsActive != bool(bActivate)) { bIsActive = bActivate != 0; sal_Int16 nEvent = bIsActive ? |