Author: jsc Date: Thu Jun 7 08:48:03 2012 New Revision: 1347535 URL: http://svn.apache.org/viewvc?rev=1347535&view=rev Log: 116409: Calc UI freeze then languagetool is installed
fix: don't clear cache Patch By: Daniel Naber Reviewed By: jsc Modified: incubator/ooo/branches/AOO34/main/linguistic/source/lngsvcmgr.cxx Modified: incubator/ooo/branches/AOO34/main/linguistic/source/lngsvcmgr.cxx URL: http://svn.apache.org/viewvc/incubator/ooo/branches/AOO34/main/linguistic/source/lngsvcmgr.cxx?rev=1347535&r1=1347534&r2=1347535&view=diff ============================================================================== --- incubator/ooo/branches/AOO34/main/linguistic/source/lngsvcmgr.cxx (original) +++ incubator/ooo/branches/AOO34/main/linguistic/source/lngsvcmgr.cxx Thu Jun 7 08:48:03 2012 @@ -1414,9 +1414,10 @@ uno::Sequence< OUString > SAL_CALL } else if (0 == rServiceName.compareToAscii( SN_GRAMMARCHECKER )) { - // don't used cached data here (force re-evaluation in order to have downloaded dictionaries - // already found without the need to restart the office - clearSvcInfoArray(pAvailGrammarSvcs); pAvailGrammarSvcs = 0; + // don't clear cache as it makes start with some extentions so slow it looks + // like a freeze (a restart is needed anyway after grammar checker installation), + // see https://issues.apache.org/ooo/show_bug.cgi?id=116409 + //clearSvcInfoArray(pAvailGrammarSvcs); pAvailGrammarSvcs = 0; GetAvailableGrammarSvcs_Impl(); pInfoArray = pAvailGrammarSvcs; }