summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2019-01-30 00:17:55 +0900
committerEike Rathke <erack@redhat.com>2019-01-29 18:19:22 +0100
commit0ca822c95a21c22f5118b16a5da5761f58fa38cc (patch)
tree2dc0b455444f22836d7e9a3b2b35fb0110fe91e5 /sc/source/filter/excel
parent76491860113d60965cd234770afcef747fe4bd65 (diff)
sc: Fix CJK Unified Ideographs range in comments
i.e. 4E00-9FAF -> 4E00-9FFF. According to <https://www.unicode.org/mail-arch/unicode-ml/y2003-m02/0351.html>, the confusion was partly due to older Unicode specification. As of Unicode 4.1 the trailing end (9FB0-9FFF) is in fact in use by "CJK Additions": <https://www.unicode.org/versions/Unicode4.1.0/> Change-Id: Ibd3704a81341743b3fa80686d3fcfc0bd11104ef Reviewed-on: https://gerrit.libreoffice.org/67087 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r--sc/source/filter/excel/xistyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index 81df8e573b24..f275a5f4ca6f 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -478,8 +478,8 @@ void XclImpFont::GuessScriptType()
xFontCharMap->HasChar( 0x3131 ) || // 3130-318F: Hangul Compatibility Jamo
xFontCharMap->HasChar( 0x3301 ) || // 3300-33FF: CJK Compatibility
xFontCharMap->HasChar( 0x3401 ) || // 3400-4DBF: CJK Unified Ideographs Extension A
- xFontCharMap->HasChar( 0x4E01 ) || // 4E00-9FAF: CJK Unified Ideographs
- xFontCharMap->HasChar( 0x7E01 ) || // 4E00-9FAF: CJK unified ideographs
+ xFontCharMap->HasChar( 0x4E01 ) || // 4E00-9FFF: CJK Unified Ideographs
+ xFontCharMap->HasChar( 0x7E01 ) || // 4E00-9FFF: CJK Unified Ideographs
xFontCharMap->HasChar( 0xA001 ) || // A001-A48F: Yi Syllables
xFontCharMap->HasChar( 0xAC01 ) || // AC00-D7AF: Hangul Syllables
xFontCharMap->HasChar( 0xCC01 ) || // AC00-D7AF: Hangul Syllables