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 23:32:32 +0200
commitb676547a27e0dcb91f12576aaee845dc700c498f (patch)
tree17ba332d28b1dd1ba7fc26e363700ef1ceaf7878
parent72eac941c272e56287dba1d8b6dd2c5e398d78c2 (diff)
tdf#118423: Fix problems introduced by my recent pt_BR speedupcp-6.0-6
Change-Id: I25b1d11e13c01678195210d42597281896543ff2 Reviewed-on: https://gerrit.libreoffice.org/56612 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/56615 Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-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()