[Libreoffice-commits] .: Branch 'libreoffice-3-5' - linguistic/source

Petr Mladek pmladek at kemper.freedesktop.org
Tue May 15 02:50:32 PDT 2012


 linguistic/source/lngsvcmgr.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 9ecc734f631ce4597782b17b071752b8fa223d49
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
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index b93364b..45f2d0e 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;
     }


More information about the Libreoffice-commits mailing list