summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /formula
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx2
-rw-r--r--formula/source/core/api/token.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index cf44e924d98c..e0d7093acafa 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1253,7 +1253,7 @@ void FormulaCompiler::Factor()
if (eOp == ocIsoWeeknum && FormulaGrammar::isODFF( meGrammar ))
{
// tdf#50950 ocIsoWeeknum can have 2 arguments when saved by older versions of Calc;
- // the opcode then has to be changed to ocWeek for backward compatibilty
+ // the opcode then has to be changed to ocWeek for backward compatibility
pFacToken = mpToken;
eOp = NextToken();
bool bNoParam = false;
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 3668b4df73bd..ff166e14ed2e 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1467,7 +1467,7 @@ FormulaTokenArray * FormulaTokenArray::RewriteMissing( const MissingConvention &
{
if (pCtx[ pOcas[ i ] ].mnCurArg == nOmitAddressArg)
{
- // Omit erverything except a trailing separator, the leading
+ // Omit everything except a trailing separator, the leading
// separator is omitted below. The other way around would leave
// an extraneous separator if no parameter followed.
if (!(pOcas[ i ] == nFn && pCur->GetOpCode() == ocSep))