summaryrefslogtreecommitdiff
path: root/pt_BR
diff options
context:
space:
mode:
Diffstat (limited to 'pt_BR')
-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):