summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-21 08:10:24 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-21 07:31:53 +0200
commit846e5da4b28bb40158cfb992f3a371614e25a349 (patch)
tree1230c15e971b7222f02852d18e7352f62bb8c396
parent2d8dd0af877de8494ca9c2c027eba4a42bbc09eb (diff)
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@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--pt_BR/Lightproof.py2
-rw-r--r--pt_BR/pythonpath/lightproof_impl_pt_BR.py1
2 files changed, 2 insertions, 1 deletions
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):