summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-05-11 21:53:09 +0100
committerPetr Mladek <pmladek@suse.cz>2012-05-15 11:49:48 +0200
commit9ecc734f631ce4597782b17b071752b8fa223d49 (patch)
tree6ce133031f4f739e27f09cce86d89dc40e26493b
parentf994abc0e669a0f4722a9c9e1d6d9fad5fb20c82 (diff)
fdo#35270 - enable caching of grammar checker properties
Thanks to Daniel Naber for some great detective work Change-Id: I8318368971c3d34064ba2e59e757a2e5839d7d6b Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r--linguistic/source/lngsvcmgr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index b93364b8e50e..45f2d0efe937 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1271,9 +1271,8 @@ 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
- delete pAvailGrammarSvcs; pAvailGrammarSvcs = 0;
+// disable force re-loading of the cache - re-start needed for new grammer checkers: fdo#35270
+// delete pAvailGrammarSvcs; pAvailGrammarSvcs = 0;
GetAvailableGrammarSvcs_Impl();
pInfoArray = pAvailGrammarSvcs;
}