Kaydet (Commit) 64fd710c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: I68b98ad56d4487ff85b8e4555c94f6dd247c2012
üst 3daf0c7e
...@@ -335,7 +335,7 @@ sal_uLong DictionaryNeo::loadEntries(const OUString &rMainURL) ...@@ -335,7 +335,7 @@ sal_uLong DictionaryNeo::loadEntries(const OUString &rMainURL)
OString aLine; OString aLine;
// remaining lines - stock strings (a [==] b) // remaining lines - stock strings (a [==] b)
while (true == (bSuccess = pStream->ReadLine(aLine))) while ((bSuccess = pStream->ReadLine(aLine)))
{ {
if (aLine[0] == '#') // skip comments if (aLine[0] == '#') // skip comments
continue; continue;
...@@ -775,7 +775,7 @@ void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate ) ...@@ -775,7 +775,7 @@ void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate )
DictionaryEventFlags::ACTIVATE_DIC : DictionaryEventFlags::DEACTIVATE_DIC; DictionaryEventFlags::ACTIVATE_DIC : DictionaryEventFlags::DEACTIVATE_DIC;
// remove entries from memory if dictionary is deactivated // remove entries from memory if dictionary is deactivated
if (bIsActive == false) if (!bIsActive)
{ {
bool bIsEmpty = nCount == 0; bool bIsEmpty = nCount == 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment