diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 5891dbbd4fb1..5f25749da164 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -870,7 +870,7 @@ void LngSvcMgr::GetSpellCheckerDsp_Impl( bool bSetSvcList ) void LngSvcMgr::GetGrammarCheckerDsp_Impl( bool bSetSvcList ) { - if (!(!mxGrammarDsp.is() && SvtLinguConfig().HasGrammarChecker())) + if (mxGrammarDsp.is() || !SvtLinguConfig().HasGrammarChecker()) return; //! since the grammar checking iterator needs to be a one instance service |