summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-07-27 19:15:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-29 22:17:07 +0200
commitdb46b03885e5814fa904b4f1190a0063f198c1b6 (patch)
tree6da323d2c875cd94279050f2104294c0d4d0402b
parent155c056b1d4674d5ff73bbb5e1ad1dcd1e6aae36 (diff)
expand out macro
Change-Id: I607e1defbd657546bfc017d16d0edfcf0dc2c028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99721 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--i18npool/inc/breakiterator_cjk.hxx26
1 files changed, 15 insertions, 11 deletions
diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx
index 5b8e2693f69c..a11a1535691f 100644
--- a/i18npool/inc/breakiterator_cjk.hxx
+++ b/i18npool/inc/breakiterator_cjk.hxx
@@ -48,18 +48,22 @@ protected:
OUString hangingCharacters;
};
-#define BREAKITERATOR_CJK( lang ) \
-class BreakIterator_##lang final : public BreakIterator_CJK {\
-public:\
- BreakIterator_##lang (); \
+class BreakIterator_zh final : public BreakIterator_CJK {
+public:
+ BreakIterator_zh();
+};
+class BreakIterator_zh_TW final : public BreakIterator_CJK {
+public:
+ BreakIterator_zh_TW();
+};
+class BreakIterator_ja final : public BreakIterator_CJK {
+public:
+ BreakIterator_ja();
+};
+class BreakIterator_ko final : public BreakIterator_CJK {
+public:
+ BreakIterator_ko();
};
-
-BREAKITERATOR_CJK( zh )
-BREAKITERATOR_CJK( zh_TW )
-BREAKITERATOR_CJK( ja )
-BREAKITERATOR_CJK( ko )
-
-#undef BREAKITERATOR__CJK
}