i18npool/inc/breakiterator_cjk.hxx |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

New commits:
commit db46b03885e5814fa904b4f1190a0063f198c1b6
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Jul 27 19:15:04 2020 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Wed Jul 29 22:17:07 2020 +0200

    expand out macro
    
    Change-Id: I607e1defbd657546bfc017d16d0edfcf0dc2c028
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99721
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

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
 
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to