[Libreoffice-commits] .: linguistic/source
Michael Meeks
michael at kemper.freedesktop.org
Mon May 14 06:45:54 PDT 2012
linguistic/source/lngsvcmgr.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 8924a7bde1bd5ddb857342b6f8704c250f897078
Author: Michael Meeks <michael.meeks at suse.com>
Date: Fri May 11 21:53:09 2012 +0100
fdo#35270 - enable caching of grammar checker properties
Thanks to Daniel Naber for some great detective work
Change-Id: I8318368971c3d34064ba2e59e757a2e5839d7d6b
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 7973611..63ee7b0 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;
}
More information about the Libreoffice-commits
mailing list