diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /i18npool | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/data/README | 2 | ||||
-rw-r--r-- | i18npool/source/breakiterator/data/line.txt | 2 | ||||
-rw-r--r-- | i18npool/source/breakiterator/gendict.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/characterclassification/cclass_unicode_parser.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/localedata/data/locale.dtd | 6 | ||||
-rw-r--r-- | i18npool/source/search/levdis.cxx | 4 |
7 files changed, 10 insertions, 10 deletions
diff --git a/i18npool/source/breakiterator/data/README b/i18npool/source/breakiterator/data/README index f1a05c9b5b29..65c1f46a1c1b 100644 --- a/i18npool/source/breakiterator/data/README +++ b/i18npool/source/breakiterator/data/README @@ -528,7 +528,7 @@ done, regression tests added: #i107843# em-dash/en-dash breakiterator fix for spell checking #i103552# Japanese word for 'shutdown' added to ja.dic #i113785# ligatures for spell checking will no longer break words -An opening quote should not be counted as a word by word count tool (regression test in in writer) +An opening quote should not be counted as a word by word count tool (regression test in writer) fdo#31271 wrong line break with ( #i89042# word count fix (regression test is in writer) #i58513# add break iterator rules for Finish diff --git a/i18npool/source/breakiterator/data/line.txt b/i18npool/source/breakiterator/data/line.txt index c45841e5e3af..9521c833fe74 100644 --- a/i18npool/source/breakiterator/data/line.txt +++ b/i18npool/source/breakiterator/data/line.txt @@ -429,7 +429,7 @@ $CM+; $AL_FOLLOW $CM+ / ( [$BK $CR $LF $NL $ZW {eof}] | $SP+ $CM+ $SP | - $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break. + $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to suppress this break. # LB14 says OP SP* x . # becomes OP SP* x AL # becomes OP SP* x CM+ AL_FOLLOW diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index 71eb9ec31f7c..a779981af698 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -64,7 +64,7 @@ static sal_Int64 existMarkOffset = 0; /Documentation/DevGuide/OfficeDev/Implementing_a_New_Locale - 27/01/2011) */ -// C-standard garantees that static variables are automatically initialized to 0 +// C-standard guarantees that static variables are automatically initialized to 0 static sal_uInt8 exists[0x2000]; static sal_uInt32 charArray[0x10000]; diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index df713c14ab40..a634c5225f89 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -1056,7 +1056,7 @@ Calendar_gregorian::getDisplayStringImpl( sal_Int32 nCalendarDisplayCode, sal_In switch( nCalendarDisplayCode ) { case CalendarDisplayCode::SHORT_MONTH: value += 1; // month is zero based - // fall thru + // fall through case CalendarDisplayCode::SHORT_DAY: sprintf(aStr, "%d", value); // #100211# - checked break; diff --git a/i18npool/source/characterclassification/cclass_unicode_parser.cxx b/i18npool/source/characterclassification/cclass_unicode_parser.cxx index 299a0f5c5cff..48b25fda158b 100644 --- a/i18npool/source/characterclassification/cclass_unicode_parser.cxx +++ b/i18npool/source/characterclassification/cclass_unicode_parser.cxx @@ -885,7 +885,7 @@ void cclass_Unicode::parseText( ParseResult& r, const OUString& rText, sal_Int32 break; case ssGetWordFirstChar : eState = ssGetWord; - // fall thru + // fall through case ssGetWord : { if ( nMask & TOKEN_WORD ) diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index ed10682a8b61..f0f90ac7e861 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -34,7 +34,7 @@ java -cp <your_path>/XMLValidator.jar org.unicode.cldr.util.XMLValidator your_data.xml - A second possiblity is: + A second possibility is: - temporarily (!) change the DOCTYPE of your file to read (all on one line) <!DOCTYPE Locale SYSTEM "http://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/locale.dtd"> @@ -136,7 +136,7 @@ <!-- The LC_FORMAT element contains number format codes and may actually appear - twice (with the second ocurrence named LC_FORMAT_1). One section is + twice (with the second occurrence named LC_FORMAT_1). One section is mandatory and MUST contain at least all required format codes formatindex="0" to formatindex="47", MUST NOT contain formatindex 48 and 49, and MAY contain other format codes. See below ATTLIST FormatElement @@ -273,7 +273,7 @@ * Formatindex="44" uses no hour code but 100th seconds and the Time100SecSeparator. * Formatindex="45" uses both [HH] hour code and 100th seconds to be - able to edit such time values without loosing information. + able to edit such time values without losing information. Of usage="CURRENCY": formatindices 12, 13, 14, 15, 17 with [$xxx-yyy] notation must use the diff --git a/i18npool/source/search/levdis.cxx b/i18npool/source/search/levdis.cxx index 7b5fe6e0518e..d2c0571758a1 100644 --- a/i18npool/source/search/levdis.cxx +++ b/i18npool/source/search/levdis.cxx @@ -136,13 +136,13 @@ int WLevDistance::WLD( const sal_Unicode* cString, sal_Int32 nStringLen ) for ( sal_Int32 i=1; i <= nStringLen; i++, nDelCnt += nDelR0 ) { if ( cString[i-1] == c ) - nP = 0; // Replace from this postion with 0 + nP = 0; // Replace from this position with 0 // Deletion to determine the Pattern + Replace npDistance[i] = nDelCnt + nP; if ( bSplitCount ) { if ( nReplacePos < 0 && nP ) - { // this Postion will be replaced + { // this Position will be replaced nRepS++; nReplacePos = i; } |