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 /tools | |
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 'tools')
-rw-r--r-- | tools/source/generic/bigint.cxx | 4 | ||||
-rw-r--r-- | tools/source/inet/inetmime.cxx | 2 | ||||
-rw-r--r-- | tools/source/memtools/multisel.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx index fcb7da378fe5..260e4415bd70 100644 --- a/tools/source/generic/bigint.cxx +++ b/tools/source/generic/bigint.cxx @@ -33,7 +33,7 @@ static const long MY_MAXSHORT = 0x00007fff; static const long MY_MINSHORT = -MY_MAXSHORT; /* - * The algorithms for Addition, Substraction, Multiplication and Divison + * The algorithms for Addition, Subtraction, Multiplication and Division * of large numbers originate from SEMINUMERICAL ALGORITHMS by * DONALD E. KNUTH in the series The Art of Computer Programming: * chapter 4.3.1. The Classical Algorithms. @@ -196,7 +196,7 @@ void BigInt::AddLong( BigInt& rB, BigInt& rErg ) rErg.bIsNeg = bIsNeg && rB.bIsNeg; rErg.bIsBig = true; } - // If one of the values is negative, perform substraction instead + // If one of the values is negative, perform subtraction instead else if (bIsNeg) { bIsNeg = false; diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 0b509c7f122a..a94a83c78d49 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -2441,7 +2441,7 @@ OUString INetMIME::decodeHeaderFieldBody(HeaderFieldType eType, // And there appear to exist some broken mailers that only encode single // letters within words, like "Appel // =?iso-8859-1?Q?=E0?=t=?iso-8859-1?Q?=E9?=moin", so it seems best to - // detect encoded words even when not propperly surrounded by white space. + // detect encoded words even when not properly surrounded by white space. // Non US-ASCII characters in rBody are treated as ISO-8859-1. diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index 72b3bde38c1d..be6dcbd2e4c5 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -190,7 +190,7 @@ bool MultiSelection::Select( long nIndex, bool bSelect ) // try to merge the previous sub selection ImplMergeSubSelections( nSubSelPos-1, nSubSelPos ); } - // is is at the beginning of the found sub selection + // is it at the beginning of the found sub selection else if ( nSubSelPos < aSels.size() && aSels[ nSubSelPos ]->Min() == (nIndex+1) ) |