[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Mar 19 17:17:48 UTC 2019
sw/source/core/doc/doc.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 8ec7648f0d8580950c1bdd2fb9de92953cc90914
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Mar 19 13:39:08 2019 +0100
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Mar 19 18:17:23 2019 +0100
Make condition logic slightly clearer
Change-Id: I8c35ddf047751cf06707efbbe11730414767a0af
Reviewed-on: https://gerrit.libreoffice.org/69416
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 3691940ef2fb..fb544a775b0c 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1830,10 +1830,10 @@ SwDoc::GetVbaEventProcessor()
void SwDoc::SetMissingDictionaries( bool bIsMissing )
{
- if( bIsMissing && meDictionaryMissing == MissingDictionary::Undefined )
- meDictionaryMissing = MissingDictionary::True;
- else if( !bIsMissing )
+ if (!bIsMissing)
meDictionaryMissing = MissingDictionary::False;
+ else if (meDictionaryMissing == MissingDictionary::Undefined)
+ meDictionaryMissing = MissingDictionary::True;
};
More information about the Libreoffice-commits
mailing list