summaryrefslogtreecommitdiff
path: root/i18nutil/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-05-28 15:28:30 +0000
committerOliver Bolte <obo@openoffice.org>2004-05-28 15:28:30 +0000
commit7a9610e23972ddfc69a54821494c1c0e90b7ac6a (patch)
treebf09e2d3cd68d43c2211943464dd12b7b1ba751a /i18nutil/source
parentbcb9214ee8fc700ed37a5f988677d2f2eb3d767d (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/source')
-rw-r--r--i18nutil/source/utility/unicode.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 13f8f24ad8..7c835507d1 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;