summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-06 16:53:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-10-14 19:50:30 +0200
commit04af4e4f55f3ef319a78edd4d0109e2e7eba90b6 (patch)
tree66e321fcf89f2dc4895f60d0f8bb1840ce8f6cd6 /i18npool
parent6f761939196eb0963c218b2ac9263f358f946675 (diff)
[API CHANGE] Fix all bad UNOIDL identifiers across offapi
Identifiers containing underscores must start with an uppercase letter. (So that the UNO implementation can use identifiers containing underscores and starting with a lowercase letter for internal purposes, see e.g. the static_type member functions in the C++ *.hdl files. idlc checks that with the -cid option, while unoidl-write silently allows bad identifiers for now, see the TODO in unoidl/source/sourceprovider-scanner.l, which can be dropped after this change.) All of the affected identifiers were present since early OOo times, but none of them appear to be used much, at least not across LO itself, so there is hope that we can get away with these incompatible changes. (For the constant group members, we could roll this out in two steps, introducing the new members alongside the old ones and deprecating the old ones in a first step, then removing the old, deprecated ones in a second step, so that third-party code would have more time to adapt. But that would not work for the enum members and interface methods, so just do all of this in one breaking step.) udkapi happened to not contain any bad identifiers. Change-Id: If2d4c16563606f9efb48b937c76af54746377428 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121725 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index 6a04ce8cd823..4a1e2eab6147 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -64,22 +64,22 @@ TMList const TMlist[] = { // Modules ModulesNew
// No enum define for this trans. application has to use impl name to load it
// TmItem1 (IGNORE_CASE_SIMPLE), // (1<<11 1024) (66)
- TmItem1 (ignoreTraditionalKanji_ja_JP), // 3. (1<<12 4096) (10)
- TmItem1 (ignoreTraditionalKana_ja_JP), // 4. (1<<13 8192) (11)
- TmItem1 (ignoreMinusSign_ja_JP), // 5. (1<<13 16384) (12)
- TmItem1 (ignoreIterationMark_ja_JP), // 6. (1<<14 32768) (13)
- TmItem1 (ignoreSeparator_ja_JP), // 7. (1<<15 65536) (14)
- TmItem1 (ignoreSize_ja_JP), // 15. (1<<23 16777216) (22)
- TmItem1 (ignoreMiddleDot_ja_JP), // 17. (1<<25 67108864) (24)
- TmItem1 (ignoreSpace_ja_JP), // 18. (1<<26 134217728) (25)
- TmItem1 (ignoreZiZu_ja_JP), // 8. (1<<16 131072) (15)
- TmItem1 (ignoreBaFa_ja_JP), // 9. (1<<17 262144) (16)
- TmItem1 (ignoreTiJi_ja_JP), // 10. (1<<18 524288) (17)
- TmItem1 (ignoreHyuByu_ja_JP), // 11. (1<<19 1048576) (18)
- TmItem1 (ignoreSeZe_ja_JP), // 12. (1<<20 2097152) (19)
- TmItem1 (ignoreIandEfollowedByYa_ja_JP), // 13. (1<<21 4194304) (20)
- TmItem1 (ignoreKiKuFollowedBySa_ja_JP), // 14. (1<<22 8388608) (21)
- TmItem1 (ignoreProlongedSoundMark_ja_JP), // 16. (1<<24 33554432) (23)
+ TmItem1 (IgnoreTraditionalKanji_ja_JP), // 3. (1<<12 4096) (10)
+ TmItem1 (IgnoreTraditionalKana_ja_JP), // 4. (1<<13 8192) (11)
+ TmItem1 (IgnoreMinusSign_ja_JP), // 5. (1<<13 16384) (12)
+ TmItem1 (IgnoreIterationMark_ja_JP), // 6. (1<<14 32768) (13)
+ TmItem1 (IgnoreSeparator_ja_JP), // 7. (1<<15 65536) (14)
+ TmItem1 (IgnoreSize_ja_JP), // 15. (1<<23 16777216) (22)
+ TmItem1 (IgnoreMiddleDot_ja_JP), // 17. (1<<25 67108864) (24)
+ TmItem1 (IgnoreSpace_ja_JP), // 18. (1<<26 134217728) (25)
+ TmItem1 (IgnoreZiZu_ja_JP), // 8. (1<<16 131072) (15)
+ TmItem1 (IgnoreBaFa_ja_JP), // 9. (1<<17 262144) (16)
+ TmItem1 (IgnoreTiJi_ja_JP), // 10. (1<<18 524288) (17)
+ TmItem1 (IgnoreHyuByu_ja_JP), // 11. (1<<19 1048576) (18)
+ TmItem1 (IgnoreSeZe_ja_JP), // 12. (1<<20 2097152) (19)
+ TmItem1 (IgnoreIandEfollowedByYa_ja_JP), // 13. (1<<21 4194304) (20)
+ TmItem1 (IgnoreKiKuFollowedBySa_ja_JP), // 14. (1<<22 8388608) (21)
+ TmItem1 (IgnoreProlongedSoundMark_ja_JP), // 16. (1<<24 33554432) (23)
TmItem1 (UPPERCASE_LOWERCASE), // 19. (1) (1)
TmItem1 (LOWERCASE_UPPERCASE), // 20. (2) (2)
@@ -88,8 +88,8 @@ TMList const TMlist[] = { // Modules ModulesNew
TmItem1 (KATAKANA_HIRAGANA), // 23. (5) (5)
TmItem1 (HIRAGANA_KATAKANA), // 24. (6) (6)
- TmItem1 (smallToLarge_ja_JP), // 25. (1<<27 268435456) (26)
- TmItem1 (largeToSmall_ja_JP), // 26. (1<<28 536870912) (27)
+ TmItem1 (SmallToLarge_ja_JP), // 25. (1<<27 268435456) (26)
+ TmItem1 (LargeToSmall_ja_JP), // 26. (1<<28 536870912) (27)
TmItem2 (NumToTextLower_zh_CN), // 27. () (28)
TmItem2 (NumToTextUpper_zh_CN), // 28. () (29)
TmItem2 (NumToTextLower_zh_TW), // 29. () (30)