diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 2767cafcf07f..bfa487153321 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -800,7 +800,11 @@ namespace bool isEmoji(sal_uInt32 nCurrentChar) { +#if U_ICU_VERSION_MAJOR_NUM >= 57 return u_hasBinaryProperty(nCurrentChar, UCHAR_EMOJI); +#else + return false; +#endif } //returns true if the given code-point couldn't possibly be in rLangTag. |