summaryrefslogtreecommitdiff
path: root/i18npool/source/characterclassification/cclass_unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/characterclassification/cclass_unicode.cxx')
-rw-r--r--i18npool/source/characterclassification/cclass_unicode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/characterclassification/cclass_unicode.cxx b/i18npool/source/characterclassification/cclass_unicode.cxx
index da317a84237d..495cd2139a79 100644
--- a/i18npool/source/characterclassification/cclass_unicode.cxx
+++ b/i18npool/source/characterclassification/cclass_unicode.cxx
@@ -134,7 +134,7 @@ cclass_Unicode::getCharacterDirection( const OUString& Text, sal_Int32 nPos ) th
sal_Int16 SAL_CALL
cclass_Unicode::getScript( const OUString& Text, sal_Int32 nPos ) throw(RuntimeException, std::exception) {
if ( nPos < 0 || Text.getLength() <= nPos ) return 0;
- // ICU Unicode script type UBlockCode starts from 1 for Basci Latin,
+ // ICU Unicode script type UBlockCode starts from 1 for Basic Latin,
// while OO.o enum UnicideScript starts from 0.
// To map ICU UBlockCode to OO.o UnicodeScript, it needs to shift 1.
return (sal_Int16) ublock_getCode(Text.iterateCodePoints(&nPos, 0))-1;