diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-05-28 15:28:30 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-05-28 15:28:30 +0000 |
commit | f72a1a3eeab683cb1491fad123a01afdc35b3bfd (patch) | |
tree | dc5f6b3362630b643ffdabe45502d5ac5181bd2f /i18nutil | |
parent | e59edb0a80836fee824b85f01ade81a5ad823e78 (diff) |
INTEGRATION: CWS i18n12 (1.2.50); FILE MERGED
2004/04/30 10:14:55 er 1.2.50.2: RESYNC: (1.2-1.3); FILE MERGED
2004/04/09 20:09:09 khong 1.2.50.1: #i25323# add script start and end for the script type for indexentrysupplier
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 73e53a542199..d51cc2d1a12b 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unicode.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2004-03-08 17:12:56 $ + * last change: $Author: obo $ $Date: 2004-05-28 16:28:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -357,6 +357,16 @@ unicode::isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type) { ch <= UnicodeScriptType[type][UnicodeScriptTypeTo]; } +sal_Unicode SAL_CALL +unicode::getUnicodeScriptStart( UnicodeScript type) { + return UnicodeScriptType[type][UnicodeScriptTypeFrom]; +} + +sal_Unicode SAL_CALL +unicode::getUnicodeScriptEnd( UnicodeScript type) { + return UnicodeScriptType[type][UnicodeScriptTypeTo]; +} + sal_Int16 SAL_CALL unicode::getUnicodeType( const sal_Unicode ch ) { static sal_Unicode c = 0x00; |