diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-07-27 19:15:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-29 22:17:07 +0200 |
commit | db46b03885e5814fa904b4f1190a0063f198c1b6 (patch) | |
tree | 6da323d2c875cd94279050f2104294c0d4d0402b /i18npool/inc | |
parent | 155c056b1d4674d5ff73bbb5e1ad1dcd1e6aae36 (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>
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/breakiterator_cjk.hxx | 26 |
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 } |