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>
This commit is contained in:
Noel Grandin 2020-07-27 19:15:04 +02:00 committed by Noel Grandin
parent 155c056b1d
commit db46b03885

View file

@ -48,18 +48,22 @@ protected:
OUString hangingCharacters; OUString hangingCharacters;
}; };
#define BREAKITERATOR_CJK( lang ) \ class BreakIterator_zh final : public BreakIterator_CJK {
class BreakIterator_##lang final : public BreakIterator_CJK {\ public:
public:\ BreakIterator_zh();
BreakIterator_##lang (); \ };
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
} }