diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-18 23:05:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-19 07:30:28 +0100 |
commit | 153aa090db6ae6fb9809305f56b06056865c69f4 (patch) | |
tree | ea6e48e5cfd05f6552f66b229573cd331205b8a5 /i18npool | |
parent | 38f4df895ebcaceb4107a42a59006420633a29b3 (diff) |
Improved loplugin:external, handling class types
...renaming type as TMList to avoid ambiguity between i18npool::TMlist and
i18npool::(anonymous namespace)::TMlist
Change-Id: I712fca9a9a7023e5a217c019195e3aa51e858f81
Reviewed-on: https://gerrit.libreoffice.org/83132
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/transliteration/transliterationImpl.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx index 195f7a789643..6a1c13d2b677 100644 --- a/i18npool/source/transliteration/transliterationImpl.cxx +++ b/i18npool/source/transliteration/transliterationImpl.cxx @@ -48,12 +48,18 @@ namespace i18npool { #define TmItem2( name ) \ {TransliterationModules(0), TransliterationModulesNew_##name, #name} +namespace { + // Ignore Module list -static struct TMlist { +struct TMList { TransliterationModules tm; TransliterationModulesNew tmn; const sal_Char *implName; -} const TMlist[] = { // Modules ModulesNew +}; + +} + +static TMList const TMlist[] = { // Modules ModulesNew TmItem1 (IGNORE_CASE), // 0. (1<<8 256) (7) TmItem1 (IGNORE_WIDTH), // 1. (1<<9 512) (8) TmItem1 (IGNORE_KANA), // 2. (1<<10 1024) (9) |