From da40cac540e7d735edbe9069b3c8ec6af4530208 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 10 Nov 2014 15:05:25 +0100 Subject: Fix common typos. No automatic tools. Handmade… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- tools/source/generic/bigint.cxx | 4 ++-- tools/source/inet/inetmime.cxx | 2 +- tools/source/memtools/multisel.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/source') 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) ) -- cgit