summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-28 20:27:01 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-28 19:37:24 +0200
commitfe72d24920c8a4dcbee18925cb19e6b6625f6553 (patch)
treeac24eaa4f5fe0d8ccd2aa13142c998e4c2e7a782
parent846e5da4b28bb40158cfb992f3a371614e25a349 (diff)
tdf#118423: Fix problems introduced by my recent pt_BR speedup
Change-Id: I25b1d11e13c01678195210d42597281896543ff2 Reviewed-on: https://gerrit.libreoffice.org/56612 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--pt_BR/Lightproof.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pt_BR/Lightproof.py b/pt_BR/Lightproof.py
index 0868693..61099ff 100644
--- a/pt_BR/Lightproof.py
+++ b/pt_BR/Lightproof.py
@@ -143,13 +143,16 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer
return aRes
def ignoreRule(self, rid, aLocale):
+ import lightproof_impl_pt_BR
lightproof_impl_pt_BR.ignore[rid] = 1
def resetIgnoreRules(self):
+ import lightproof_impl_pt_BR
lightproof_impl_pt_BR.ignore = {}
# XServiceDisplayName
def getServiceDisplayName(self, aLocale):
+ import lightproof_impl_pt_BR
return lightproof_impl_pt_BR.name
g_ImplementationHelper = unohelper.ImplementationHelper()