Kaydet (Commit) 1e25617c authored tarafından Jürgen Schmidt's avatar Jürgen Schmidt

merge from AOO34

116409: Calc UI freeze then languagetool is installed

fix: don't clear cache

Patch By: Daniel Naber
Reviewed By: jsc
üst 0d2415df
...@@ -1414,9 +1414,10 @@ uno::Sequence< OUString > SAL_CALL ...@@ -1414,9 +1414,10 @@ uno::Sequence< OUString > SAL_CALL
} }
else if (0 == rServiceName.compareToAscii( SN_GRAMMARCHECKER )) else if (0 == rServiceName.compareToAscii( SN_GRAMMARCHECKER ))
{ {
// don't used cached data here (force re-evaluation in order to have downloaded dictionaries // don't clear cache as it makes start with some extentions so slow it looks
// already found without the need to restart the office // like a freeze (a restart is needed anyway after grammar checker installation),
clearSvcInfoArray(pAvailGrammarSvcs); pAvailGrammarSvcs = 0; // see https://issues.apache.org/ooo/show_bug.cgi?id=116409
//clearSvcInfoArray(pAvailGrammarSvcs); pAvailGrammarSvcs = 0;
GetAvailableGrammarSvcs_Impl(); GetAvailableGrammarSvcs_Impl();
pInfoArray = pAvailGrammarSvcs; pInfoArray = pAvailGrammarSvcs;
} }
......
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