[Libreoffice-commits] core.git: linguistic/source
Caolán McNamara
caolanm at redhat.com
Fri Aug 22 03:59:55 PDT 2014
linguistic/source/lngsvcmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8a4a1d285a79cc3544e1b32dad94b68982705977
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Aug 22 11:58:51 2014 +0100
pAvailGrammarSvcs can be reset to 0 on error
e.g. java grammar checker installed and java
disabled at runtime
Change-Id: I84b0e5eeb3ef9c30e153cb5fb65e35270023cd34
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 44c5551..259dd8f 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;
More information about the Libreoffice-commits
mailing list