diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-22 11:58:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-22 11:59:27 +0100 |
commit | 8a4a1d285a79cc3544e1b32dad94b68982705977 (patch) | |
tree | cb0d716252b7956dfccd9d3fc8fe84bc47310d5b /linguistic | |
parent | 3584d4b47c4e6db479eee6735df8d56831d09638 (diff) |
pAvailGrammarSvcs can be reset to 0 on error
e.g. java grammar checker installed and java
disabled at runtime
Change-Id: I84b0e5eeb3ef9c30e153cb5fb65e35270023cd34
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 44c5551b7e03..259dd8feb04f 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -1152,7 +1152,7 @@ void LngSvcMgr::GetAvailableGrammarSvcs_Impl() } } - if (xSvc.is()) + if (xSvc.is() && pAvailGrammarSvcs) { OUString aImplName; uno::Sequence< sal_Int16 > aLanguages; |