sw/source/core/doc/doc.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 8ec7648f0d8580950c1bdd2fb9de92953cc90914 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Mar 19 13:39:08 2019 +0100 Commit: Mike Kaganski <mike.kagan...@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.kagan...@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; }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits