diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 17:54:04 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-09-30 12:41:09 +0000 |
commit | a50539e2aa79bfef74c1100c252020972d436e77 (patch) | |
tree | 9f282bbc336fad97557c71ab6d92d6857f2162f4 /i18npool | |
parent | eab0904f0edda70334532b5cbf466717966f5db0 (diff) |
Fix typos
Change-Id: Iab78219aff60a7a45a319a96f326e27a6e8e25b8
Reviewed-on: https://gerrit.libreoffice.org/18953
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/servicename.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_hijri.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/search/levdis.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/inc/servicename.hxx b/i18npool/inc/servicename.hxx index 4a293bcdb78d..cbe187729078 100644 --- a/i18npool/inc/servicename.hxx +++ b/i18npool/inc/servicename.hxx @@ -25,7 +25,7 @@ Service Name com.sun.star.i18n.Transliteration.l10n ... other We have to adopt different service name for internal UNO objects. - Case realted functionality vary depending on Locale. + Case related functionality vary depending on Locale. Implementation Name diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 73aab77f8c38..c6955d852a2b 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -418,7 +418,7 @@ Boundary xdictionary::nextWord(const OUString& rText, sal_Int32 anyPos, sal_Int1 anyPos = boundary.endPos; const sal_Int32 nLen = rText.getLength(); if (anyPos < nLen) { - // looknig for the first non-whitespace character from anyPos + // looking for the first non-whitespace character from anyPos sal_uInt32 ch = rText.iterateCodePoints(&anyPos); while (u_isWhitespace(ch) && (anyPos < nLen)) ch=rText.iterateCodePoints(&anyPos); if (anyPos > 0) diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index ff1bf5126440..1908ac492e11 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -190,7 +190,7 @@ Calendar_hijri::getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year) do { newjd = NewMoon(newsyn); - // Decrement syndonic months + // Decrement syntonic months newsyn--; } while (newjd > prevday); newsyn++; diff --git a/i18npool/source/search/levdis.cxx b/i18npool/source/search/levdis.cxx index c0dc37a0ee80..f15d6ca24894 100644 --- a/i18npool/source/search/levdis.cxx +++ b/i18npool/source/search/levdis.cxx @@ -289,7 +289,7 @@ int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed ) return nLimit; } -// greatest common divisior according to Euklid (chaindivision) +// greatest common divisor according to Euklid (chaindivision) // special case: 0 plus anything produces 1 int WLevDistance::GCD( int a, int b ) { @@ -310,7 +310,7 @@ int WLevDistance::GCD( int a, int b ) // least common multiple : a * b / GCD(a,b) int WLevDistance::LCM( int a, int b ) { - if ( a > b ) // decrease owerflow chance + if ( a > b ) // decrease overflow chance return( (a / GCD(a,b)) * b ); else return( (b / GCD(a,b)) * a ); |