diff options
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_asian.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/i18npool/source/indexentry/indexentrysupplier_asian.cxx index afe5392587ac..469a459d60a0 100644 --- a/i18npool/source/indexentry/indexentrysupplier_asian.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_asian.cxx @@ -126,7 +126,7 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry, } } - // using alphanumeric index for non-define stirng + // using alphanumeric index for non-define string return OUString(&idxStr[(ch & 0xFFFFFF00) ? 0 : ch], 1); } diff --git a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx index 1a956cdeb75b..d7ccf35857fe 100644 --- a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx @@ -32,7 +32,7 @@ OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexCharacter( const OUStr sal_Unicode ch=rIndexEntry.toChar(); sal_uInt16 first = idx[ ch >> 8 ]; if (first == 0xFFFF) { - // using alphanumeric index for non-define stirng + // using alphanumeric index for non-define string return OUString(&idxStr[(ch & 0xFF00) ? 0 : ch], 1); } else { const sal_Unicode *idx2 = strstr(implementationName, "syllable") ? syllable : consonant; |