[Libreoffice-commits] dictionaries.git: pt_BR/Lightproof.py pt_BR/pythonpath

Tor Lillqvist tml at collabora.com
Thu Jun 21 05:32:18 UTC 2018


 pt_BR/Lightproof.py                       |    2 +-
 pt_BR/pythonpath/lightproof_impl_pt_BR.py |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 846e5da4b28bb40158cfb992f3a371614e25a349
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Jun 21 08:10:24 2018 +0300

    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 <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

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):


More information about the Libreoffice-commits mailing list