From 846e5da4b28bb40158cfb992f3a371614e25a349 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 Jun 2018 08:10:24 +0300 Subject: tdf#104332 (and others): Fix two thinkos in my recent commit Change-Id: I6908826572153daeee1211ea3796a6e4a0e007b2 Reviewed-on: https://gerrit.libreoffice.org/56217 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- pt_BR/Lightproof.py | 2 +- pt_BR/pythonpath/lightproof_impl_pt_BR.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pt_BR/Lightproof.py b/pt_BR/Lightproof.py index cf0247d..0868693 100644 --- a/pt_BR/Lightproof.py +++ b/pt_BR/Lightproof.py @@ -67,7 +67,7 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer if lightproof_impl_pt_BR.SMGR == None: lightproof_impl_pt_BR.SMGR = currentContext.ServiceManager lightproof_impl_pt_BR.spellchecker = \ - lightproof_impl_en.SMGR.createInstanceWithContext("com.sun.star.linguistic2.SpellChecker", currentContext) + lightproof_impl_pt_BR.SMGR.createInstanceWithContext("com.sun.star.linguistic2.SpellChecker", currentContext) lightproof_handler_pt_BR.load(currentContext) aRes = uno.createUnoStruct( "com.sun.star.linguistic2.ProofreadingResult" ) aRes.aDocumentIdentifier = nDocId diff --git a/pt_BR/pythonpath/lightproof_impl_pt_BR.py b/pt_BR/pythonpath/lightproof_impl_pt_BR.py index 8611ee5..d3a72a1 100644 --- a/pt_BR/pythonpath/lightproof_impl_pt_BR.py +++ b/pt_BR/pythonpath/lightproof_impl_pt_BR.py @@ -29,6 +29,7 @@ suggestions = {} # assign Calc functions calcfunc = None +SMGR = None # check settings def option(lang, opt): -- cgit