diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-06-28 20:27:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-06-28 23:32:04 +0200 |
commit | d401ecde39ee763e1d28c8850c3eb6fb628d29c3 (patch) | |
tree | ac24eaa4f5fe0d8ccd2aa13142c998e4c2e7a782 | |
parent | 3b6db3f228458fa2b2f9911716b95ed0d632c9ce (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>
Reviewed-on: https://gerrit.libreoffice.org/56613
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org>
-rw-r--r-- | pt_BR/Lightproof.py | 3 |
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() |