summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-05-11 21:53:09 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-05-14 14:44:20 +0100
commit8924a7bde1bd5ddb857342b6f8704c250f897078 (patch)
tree6a23352db16e7a5330c5bce28942112d16dfc3a3 /linguistic
parentcf7f6ba13f2824ca21baee59f6f25f0ee671cd54 (diff)
fdo#35270 - enable caching of grammar checker properties
Thanks to Daniel Naber for some great detective work Change-Id: I8318368971c3d34064ba2e59e757a2e5839d7d6b
Diffstat (limited to 'linguistic')
-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 797361122eac..63ee7b0c7cb9 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1267,9 +1267,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;
}