From 20ebccd6b349a1d9d3e057de55933c2805ff5d1a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 25 Oct 2022 00:34:34 +0200 Subject: Update to ICU 72.1 https://icu.unicode.org/download/72 Unicode 15 https://blog.unicode.org/2022/09/announcing-unicode-standard-version-150.html CLDR 42 https://blog.unicode.org/2022/10/unicode-cldr-v42-available.html New scripts: USCRIPT_KAWI USCRIPT_NAG_MUNDARI New Unicode blocks: UBLOCK_ARABIC_EXTENDED_C UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H UBLOCK_CYRILLIC_EXTENDED_D UBLOCK_DEVANAGARI_EXTENDED_A UBLOCK_KAKTOVIK_NUMERALS UBLOCK_KAWI UBLOCK_NAG_MUNDARI Change-Id: I8822791e914e6700358b817a1af94b7dcd16b26d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141788 Reviewed-by: Eike Rathke Tested-by: Jenkins --- svx/source/dialog/charmap.cxx | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index b268fff518d1..bc3950ad2ca6 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -1894,7 +1894,29 @@ void SubsetMap::InitList() aAllSubsets.emplace_back( 0x1CF00, 0x1CFCF, SvxResId(RID_SUBSETSTR_ZNAMENNY_MUSICAL_NOTATION) ); break; #endif - +#if (U_ICU_VERSION_MAJOR_NUM >= 72) + case UBLOCK_ARABIC_EXTENDED_C: + aAllSubsets.emplace_back( 0x10EC0, 0x10EFF, SvxResId(RID_SUBSETSTR_ARABIC_EXTENDED_C) ); + break; + case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H: + aAllSubsets.emplace_back( 0x31350, 0x323AF, SvxResId(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H) ); + break; + case UBLOCK_CYRILLIC_EXTENDED_D: + aAllSubsets.emplace_back( 0x1E030, 0x1E08F, SvxResId(RID_SUBSETSTR_CYRILLIC_EXTENDED_D) ); + break; + case UBLOCK_DEVANAGARI_EXTENDED_A: + aAllSubsets.emplace_back( 0x11B00, 0x11B5F, SvxResId(RID_SUBSETSTR_DEVANAGARI_EXTENDED_A) ); + break; + case UBLOCK_KAKTOVIK_NUMERALS: + aAllSubsets.emplace_back( 0x1D2C0, 0x1D2DF, SvxResId(RID_SUBSETSTR_KAKTOVIK_NUMERALS) ); + break; + case UBLOCK_KAWI: + aAllSubsets.emplace_back( 0x11F00, 0x11F5F, SvxResId(RID_SUBSETSTR_KAWI) ); + break; + case UBLOCK_NAG_MUNDARI: + aAllSubsets.emplace_back( 0x1E4D0, 0x1E4FF, SvxResId(RID_SUBSETSTR_NAG_MUNDARI) ); + break; +#endif } #if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG -- cgit