summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx2
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 ?