summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:28:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:58 +0200
commit64fd710cd57986f319bbb1a379cd674b134b5708 (patch)
treebe79d4e3fffffe879552ffebf5a2e2c7e5d66f33 /linguistic
parent3daf0c7e77a6438d11d23a31b5f21577c19cdcd8 (diff)
More loplugin:simplifybool
Change-Id: I68b98ad56d4487ff85b8e4555c94f6dd247c2012
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 07ce3eb25bed..bdc7c30d8b86 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -335,7 +335,7 @@ sal_uLong DictionaryNeo::loadEntries(const OUString &rMainURL)
OString aLine;
// remaining lines - stock strings (a [==] b)
- while (true == (bSuccess = pStream->ReadLine(aLine)))
+ while ((bSuccess = pStream->ReadLine(aLine)))
{
if (aLine[0] == '#') // skip comments
continue;
@@ -775,7 +775,7 @@ void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate )
DictionaryEventFlags::ACTIVATE_DIC : DictionaryEventFlags::DEACTIVATE_DIC;
// remove entries from memory if dictionary is deactivated
- if (bIsActive == false)
+ if (!bIsActive)
{
bool bIsEmpty = nCount == 0;