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 /svl | |
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 'svl')
-rw-r--r-- | svl/source/filerec/filerec.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/nranges.cxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zformat.cxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx index d8d3a10a387a..41453f6cb75c 100644 --- a/svl/source/filerec/filerec.cxx +++ b/svl/source/filerec/filerec.cxx @@ -149,7 +149,7 @@ bool SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader ) * that do not recognise the new tag will skip the new record * automatically. This does cause a slight run time inefficiency, * compared just starting reading, but if the first record - * is the wanted one the difference is just a comparision of 2 bytes. + * is the wanted one the difference is just a comparison of 2 bytes. */ SfxMiniRecordReader::SfxMiniRecordReader(SvStream* pStream, sal_uInt8 nTag) diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx index ce32bdc68e8f..47ccd03636c6 100644 --- a/svl/source/items/nranges.cxx +++ b/svl/source/items/nranges.cxx @@ -241,7 +241,7 @@ SfxUShortRanges& SfxUShortRanges::operator += if ( IsEmpty() ) return *this = rRanges; - // First, run thru _pRanges and rRanges._pRanges and determine the size of + // First, run through _pRanges and rRanges._pRanges and determine the size of // the new, merged ranges: sal_uInt16 nCount = 0; const sal_uInt16 * pRA = _pRanges; @@ -301,7 +301,7 @@ count_rest: for (; pRB[0]; pRB += 2) nCount += 2; - // Now, create new ranges of the correct size and, on a second run thru + // Now, create new ranges of the correct size and, on a second run through // _pRanges and rRanges._pRanges, copy the merged pairs into the new // ranges: sal_uInt16 * pNew = new sal_uInt16[nCount + 1]; diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index b7885f805dcc..ca1f554e9cab 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3239,7 +3239,7 @@ bool SvNumberFormatter::GetNewCurrencySymbolString( sal_uInt32 nFormat, OUString const SvNumberformat* pFormat = GetFormatEntry(nFormat); if ( pFormat ) { - OUStringBuffer sBuff(128); // guess-estimate of a value that will pretty much garantee no re-alloc + OUStringBuffer sBuff(128); // guess-estimate of a value that will pretty much guarantee no re-alloc OUString aSymbol, aExtension; if ( pFormat->GetNewCurrencySymbol( aSymbol, aExtension ) ) { diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 315b848a589d..7efc8e8c5147 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -2290,7 +2290,7 @@ bool SvNumberformat::ImpGetScientificOutput(double fNumber, { case '-' : nExpSign = -1; - // fallthru + // fall through case '+' : ++nExpStart; break; @@ -4072,7 +4072,7 @@ bool SvNumberformat::ImpNumberFillWithThousands( OUStringBuffer& sBuff, // numb { case NF_SYMBOLTYPE_DECSEP: aGrouping.reset(); - // fall thru + // fall through case NF_SYMBOLTYPE_STRING: case NF_SYMBOLTYPE_CURRENCY: case NF_SYMBOLTYPE_PERCENT: diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index daf30c1f67f0..ea28370dc477 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -865,7 +865,7 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr, case SsGetStar: eState = SsStop; sSymbol += OUString(cToken); - nRepPos = (nPos - nStart) - 1; // everytime > 0!! + nRepPos = (nPos - nStart) - 1; // every time > 0!! break; case SsGetBlank: eState = SsStop; @@ -2268,7 +2268,7 @@ sal_Int32 ImpSvNumberformatScan::FinalScan( OUString& rString ) break; case NF_KEY_THAI_T : bThaiT = true; - // fall thru + // fall through case NF_KEY_M: // M case NF_KEY_MM: // MM case NF_KEY_MMM: // MMM @@ -2424,7 +2424,7 @@ sal_Int32 ImpSvNumberformatScan::FinalScan( OUString& rString ) break; case NF_KEY_THAI_T : bThaiT = true; - // fall thru + // fall through case NF_KEY_MI: // M case NF_KEY_MMI: // MM case NF_KEY_H: // H |