From db46b03885e5814fa904b4f1190a0063f198c1b6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 27 Jul 2020 19:15:04 +0200 Subject: [PATCH] expand out macro Change-Id: I607e1defbd657546bfc017d16d0edfcf0dc2c028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99721 Tested-by: Jenkins Reviewed-by: Noel Grandin --- i18npool/inc/breakiterator_cjk.hxx | 26 +++++++++++++++----------- 1 file 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 }