summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-10-30 12:04:11 +0100
committerMichael Stahl <mstahl@redhat.com>2014-10-30 17:16:02 +0000
commit0c0e3e7539f683548e93616a30af8ac90c9abad0 (patch)
tree530ba0642a63a454cc04b0db372445bf6c665413 /sc
parentd665d253eea7b6f311167079893cbfaac566ca8b (diff)
Fixed typos. No automatic tools (sed, and so on).
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/compiler.hxx2
-rw-r--r--sc/inc/formulacell.hxx2
-rw-r--r--sc/source/core/tool/interpr1.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 18d788aab3c4..ce117564cab1 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -119,7 +119,7 @@ public:
struct ScRawToken: private ScRawTokenBase
{
friend class ScCompiler;
- // Friends that use a temporary ScRawToken on the stack (and therefor need
+ // Friends that use a temporary ScRawToken on the stack (and therefore need
// the private dtor) and know what they're doing..
friend class ScTokenArray;
static sal_uInt16 sbyteOffset();
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 98bfcba9fa75..b65504e71fcc 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -183,7 +183,7 @@ public:
/** With formula string and grammar to compile with.
formula::FormulaGrammar::GRAM_DEFAULT effectively isformula::FormulaGrammar::GRAM_NATIVE_UI that
- also includes formula::FormulaGrammar::CONV_UNSPECIFIED, therefor uses the address
+ also includes formula::FormulaGrammar::CONV_UNSPECIFIED, therefore uses the address
convention associated with rPos::nTab by default. */
ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
const OUString& rFormula,
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index e099d3a2b184..a2743f0319b6 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6863,7 +6863,7 @@ void ScInterpreter::ScDBCount()
{ // count all matching records
// TODO: currently the QueryIterators only return cell pointers of
// existing cells, so if a query matches an empty cell there's
- // nothing returned, and therefor not counted!
+ // nothing returned, and therefore not counted!
// Since this has ever been the case and this code here only came
// into existence to fix #i6899 and it never worked before we'll
// have to live with it until we reimplement the iterators to also
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 04b71d2a78f6..ebfad21db197 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -3980,7 +3980,7 @@ ScVbaRange::setRowHeight( const uno::Any& _rowheight) throw (uno::RuntimeExcepti
}
return;
}
- double nHeight = 0; // Incomming height is in points
+ double nHeight = 0; // Incoming height is in points
_rowheight >>= nHeight;
nHeight = lcl_Round2DecPlaces( nHeight );
RangeHelper thisRange( mxRange );