summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-18 23:05:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-19 07:30:28 +0100
commit153aa090db6ae6fb9809305f56b06056865c69f4 (patch)
treeea6e48e5cfd05f6552f66b229573cd331205b8a5 /i18npool
parent38f4df895ebcaceb4107a42a59006420633a29b3 (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.cxx10
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)