summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-07 23:14:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-07-08 05:48:18 +0000
commit799cc41b53a59c543408fa5370e107c2c57a2904 (patch)
tree790ed9324cea1b9a2f54955a0497cab55c617128 /i18npool
parentff669d1c7f692052534d1136d1ff4220433f8542 (diff)
Fix typos
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx2
-rw-r--r--i18npool/source/characterclassification/cclass_unicode.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index ec9f63097b78..142ec98e7364 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -361,7 +361,7 @@ WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBou
sal_Int32 i = 0; // loop variable
while (rCache.wordboundary[i] < rCache.length) {
len = 0;
- // look the continuous white space as one word and cashe it
+ // look the continuous white space as one word and cache it
while (u_isWhitespace((sal_uInt32)text[wordBoundary.startPos + rCache.wordboundary[i] + len]))
len ++;
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;