diff options
Diffstat (limited to 'linguistic/source')
-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 041cea75a305..014c3ec3e7f6 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -1021,7 +1021,7 @@ void LngSvcMgr::GetGrammarCheckerDsp_Impl( sal_Bool bSetSvcList ) pGrammarDsp = dynamic_cast< GrammarCheckingIterator * >(xGCI.get()); xGrammarDsp = xGCI; SAL_WARN_IF( pGrammarDsp == NULL, "linguistic", "failed to get implementation" ); - if (bSetSvcList) + if (bSetSvcList && pGrammarDsp) SetCfgServiceLists( *pGrammarDsp ); } } |