summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-07-30 13:41:52 +0000
committerKurt Zenker <kz@openoffice.org>2004-07-30 13:41:52 +0000
commitf078a377a82b8e2b4ee423f6814de9e0485c8d44 (patch)
tree3b988987eeab5fc012b8f82f636a70208fbe6800 /i18npool
parenta1de411985c837741d8798466852f24c72ee4ec3 (diff)
INTEGRATION: CWS i18n13 (1.6.108); FILE MERGED
2004/06/08 22:45:57 khong 1.6.108.1: #115841# #115878# #116314# #116316# fix Japanese search problem and Katakana and Hiragana conversion
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/hiraganaToKatakana.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/hiraganaToKatakana.cxx b/i18npool/source/transliteration/hiraganaToKatakana.cxx
index f04e517ed4d6..5acd0fd29537 100644
--- a/i18npool/source/transliteration/hiraganaToKatakana.cxx
+++ b/i18npool/source/transliteration/hiraganaToKatakana.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: hiraganaToKatakana.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2003-04-28 16:50:18 $
+ * last change: $Author: kz $ $Date: 2004-07-30 14:41:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,7 +74,7 @@ namespace com { namespace sun { namespace star { namespace i18n {
// see http://charts.unicode.org/Web/U3040.html Hiragana (U+3040..U+309F)
// see http://charts.unicode.org/Web/U30A0.html Katakana (U+30A0..U+30FF)
static sal_Unicode toKatakana (const sal_Unicode c) {
- if (0x3040 <= c && c <= 0x3094 || 0x309d <= c && c <= 0x309f) { // 3040 - 309F HIRAGANA LETTER
+ if (0x3041 <= c && c <= 0x3096 || 0x309d <= c && c <= 0x309f) { // 3040 - 309F HIRAGANA LETTER
// shift code point by 0x0060
return c + (0x30a0 - 0x3040);
}