Kaydet (Commit) a33d18c1 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#88237 crash without java but with nlp solver installed

Change-Id: Ifb451c299e4586a3a38c83a3111f3ac0b46d9315
üst 970b0ebb
......@@ -65,6 +65,8 @@ void ScSolverUtil::GetImplementations( uno::Sequence<OUString>& rImplNames,
OUString sName = xInfo->getImplementationName();
OUString sDescription;
try
{
uno::Reference<sheet::XSolver> xSolver(
xCFac->createInstanceWithContext(xCtx), uno::UNO_QUERY );
uno::Reference<sheet::XSolverDescription> xDesc( xSolver, uno::UNO_QUERY );
......@@ -80,6 +82,11 @@ void ScSolverUtil::GetImplementations( uno::Sequence<OUString>& rImplNames,
rDescriptions[nCount] = sDescription;
++nCount;
}
catch (const css::uno::Exception& e)
{
SAL_INFO("sc", "ScSolverUtil::GetImplementations: cannot instantiate: " << sName << ", because: " << e.Message);
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment