pAvailGrammarSvcs can be reset to 0 on error

e.g. java grammar checker installed and java
disabled at runtime

Change-Id: I84b0e5eeb3ef9c30e153cb5fb65e35270023cd34
This commit is contained in:
Caolán McNamara 2014-08-22 11:58:51 +01:00
parent 3584d4b47c
commit 8a4a1d285a

View file

@ -1152,7 +1152,7 @@ void LngSvcMgr::GetAvailableGrammarSvcs_Impl()
}
}
if (xSvc.is())
if (xSvc.is() && pAvailGrammarSvcs)
{
OUString aImplName;
uno::Sequence< sal_Int16 > aLanguages;