summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 19:31:57 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:14:38 +0200
commit2f970ee06bfba42328a36599c52f57fe2f2fc4fc (patch)
treeaf051a73b449e47f7bbb62f9cfbf5f0080edb1b7 /sc/source/core
parent8c639732ae286e84ad9aa7ba6e92c9d12a8c26d9 (diff)
Fix typos
Change-Id: I46f80e6f453b8825f666e4bf7bbc4804e596222b Reviewed-on: https://gerrit.libreoffice.org/77299 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/fillinfo.cxx2
-rw-r--r--sc/source/core/data/refupdatecontext.cxx2
-rw-r--r--sc/source/core/inc/interpre.hxx6
-rw-r--r--sc/source/core/tool/grouparealistener.cxx2
-rw-r--r--sc/source/core/tool/interpr2.cxx2
-rw-r--r--sc/source/core/tool/interpr3.cxx2
6 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 48749179a0a3..610c4fb6a53b 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -299,7 +299,7 @@ bool handleConditionalFormat(ScConditionalFormatList& rCondFormList, const ScCon
pInfo->pConditionSet = &pStyleSheet->GetItemSet();
bAnyCondition = true;
- // TODO: moggi: looks like there is a but around bHidden and bHideFormula
+ // TODO: moggi: looks like there is a bug around bHidden and bHideFormula
// They are normally for the whole pattern and not for a single cell
// we need to check already here for protected cells
const SfxPoolItem* pItem;
diff --git a/sc/source/core/data/refupdatecontext.cxx b/sc/source/core/data/refupdatecontext.cxx
index c34ac6860ee1..4addc5e0b09f 100644
--- a/sc/source/core/data/refupdatecontext.cxx
+++ b/sc/source/core/data/refupdatecontext.cxx
@@ -100,7 +100,7 @@ RefUpdateMoveTabContext::RefUpdateMoveTabContext(ScDocument& rDoc, SCTAB nOldPos
SCTAB RefUpdateMoveTabContext::getNewTab(SCTAB nOldTab) const
{
- // Sheets below the lower bound or above the uppper bound will not change.
+ // Sheets below the lower bound or above the upper bound will not change.
SCTAB nLowerBound = std::min(mnOldPos, mnNewPos);
SCTAB nUpperBound = std::max(mnOldPos, mnNewPos);
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 398fe707f86f..5930d24394aa 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -169,7 +169,7 @@ public:
*/
static utl::SearchParam::SearchType DetectSearchType( const OUString& rStr, const ScDocument* pDoc );
- /// Fail safe division, returning an FormulaError::DivisionByZero coded into a double
+ /// Fail safe division, returning a FormulaError::DivisionByZero coded into a double
/// if denominator is 0.0
static inline double div( const double& fNumerator, const double& fDenominator );
@@ -283,7 +283,7 @@ private:
Increments RefCount of the original token if not substituted.
ATTENTION! The token had to be allocated with `new' and must not be used
after this call if no RefCount was set because possibly it gets immediately
- deleted in case of an FormulaError::StackOverflow or if substituted with formula::FormulaErrorToken! */
+ deleted in case of a FormulaError::StackOverflow or if substituted with formula::FormulaErrorToken! */
void PushTempToken( formula::FormulaToken* );
/** Pushes the token or substitutes with formula::FormulaErrorToken in case
@@ -296,7 +296,7 @@ private:
explicit formula::FormulaErrorToken. Increments RefCount.
ATTENTION! The token had to be allocated with `new' and must not be used
after this call if no RefCount was set because possibly it gets immediately
- decremented again and thus deleted in case of an FormulaError::StackOverflow! */
+ decremented again and thus deleted in case of a FormulaError::StackOverflow! */
void PushTempTokenWithoutError( const formula::FormulaToken* );
/** If nGlobalError is set push formula::FormulaErrorToken.
diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx
index 6cd88ffe1ea9..5950c8020c5f 100644
--- a/sc/source/core/tool/grouparealistener.cxx
+++ b/sc/source/core/tool/grouparealistener.cxx
@@ -239,7 +239,7 @@ void FormulaGroupAreaListener::collectFormulaCells(
// least not in the original bug scenario (insert a column before H on
// sheet w) of tdf#89957 with
// http://bugs.documentfoundation.org/attachment.cgi?id=114042
- // Apparently this was fixed in the mean time, let's assume and get the
+ // Apparently this was fixed in the meantime, let's assume and get the
// assert bat out to hit us if it wasn't.
assert(!"something is still messing up the formula goup and block size length");
}
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index f9202d2f7014..ac5f174f4425 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -2981,7 +2981,7 @@ void ScInterpreter::ScDecimal()
while ( *p == ' ' || *p == '\t' )
p++; // strip leading white space
if ( nBase == 16 )
- { // evtl. hex-prefix strippen
+ { // evtl. hex-prefix stripped
if ( *p == 'x' || *p == 'X' )
p++;
else if ( *p == '0' && (*(p+1) == 'x' || *(p+1) == 'X') )
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 6311ab3b8342..47e0e6ca9c70 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -159,7 +159,7 @@ static double lcl_IterateInverse( const ScDistFunc& rFunction, double fAx, doubl
{
fAx = fRx; fAy = fRy;
}
- // if last iteration brought to small advance, then do bisection next
+ // if last iteration brought too small advance, then do bisection next
// time, for safety
bHasToInterpolate = bHasToInterpolate && (fabs(fRy) * 2.0 <= fabs(fQy));
++nCount;