summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-22 11:58:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-22 11:59:27 +0100
commit8a4a1d285a79cc3544e1b32dad94b68982705977 (patch)
treecb0d716252b7956dfccd9d3fc8fe84bc47310d5b /linguistic/source/lngsvcmgr.cxx
parent3584d4b47c4e6db479eee6735df8d56831d09638 (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/source/lngsvcmgr.cxx')
-rw-r--r--linguistic/source/lngsvcmgr.cxx2
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;