diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 73abcf92abd5..69e884257e33 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -1488,6 +1488,8 @@ void SAL_CALL { if (!mxGrammarDsp.is()) GetGrammarCheckerDsp_Impl(); + if (!mxGrammarDsp) // e.g., when !SvtLinguConfig().HasGrammarChecker() + return; bool bChanged = !IsEqSvcList( rServiceImplNames, mxGrammarDsp->GetServiceList( rLocale ) ); if (bChanged) |