summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2024-06-29 15:39:00 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2024-06-29 17:12:55 +0200
commit36d898b3bc635e996cad074fc81341d43a650a3f (patch)
tree02d8c29998c40c64e30a67f8b6b492394eb16e5c /sc
parent819194eb3b60ce53533678d6dd57bebed58996c0 (diff)
Fix "lets" -> "let's"
Change-Id: I3f55e97561323cff8a4148d8388ecd3a5550c704 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169753 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/formulacell.cxx6
-rw-r--r--sc/source/core/data/validat.cxx2
-rw-r--r--sc/source/core/tool/interpr4.cxx2
-rw-r--r--sc/source/core/tool/interpr5.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 810a2c9984a5..e7ebdb305d72 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -4499,7 +4499,7 @@ struct ScDependantsCalculator
// The dependency evaluator evaluates all arguments of IF/IFS/SWITCH irrespective
// of the result of the condition expression.
// This is a perf problem if we *don't* intent on recalc'ing all dirty cells
- // in the document. So lets disable threading and stop dependency evaluation if
+ // in the document. So let's disable threading and stop dependency evaluation if
// the call did not originate from ScDocShell::DoRecalc()/ScDocShell::DoHardRecalc()
// for formulae with IF/IFS/SWITCH
OpCode nOpCode = p->GetOpCode();
@@ -4636,7 +4636,7 @@ struct ScDependantsCalculator
}
// Compute dependencies irrespective of the presence of any self references.
- // These dependencies would get computed via InterpretTail anyway when we disable group calc, so lets do it now.
+ // These dependencies would get computed via InterpretTail anyway when we disable group calc, so let's do it now.
// The advantage is that the FG's get marked for cycles early if present, and can avoid lots of complications.
for (size_t i = 0; i < aRangeList.size(); ++i)
{
@@ -4770,7 +4770,7 @@ bool ScFormulaCell::CheckComputeDependencies(sc::FormulaLogger::GroupScope& rSco
// to avoid writing during the calculation
if (bCalcDependencyOnly)
{
- // Lets not use "ScFormulaGroupDependencyComputeGuard" here as there is no corresponding
+ // Let's not use "ScFormulaGroupDependencyComputeGuard" here as there is no corresponding
// "ScFormulaGroupCycleCheckGuard" for this formula-group.
// (We can only reach here from a multi-group dependency evaluation attempt).
// (These two have to be in pairs always for any given formula-group)
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 55cb345a88bc..6a4a4aed064e 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -906,7 +906,7 @@ bool ScValidationData::GetSelectionFromFormula(
/* XL artificially limits things to a single col or row in the UI but does
* not list the constraint in MOOXml. If a defined name or INDIRECT
* resulting in 1D is entered in the UI and the definition later modified
- * to 2D, it is evaluated fine and also stored and loaded. Lets get ahead
+ * to 2D, it is evaluated fine and also stored and loaded. Let's get ahead
* of the curve and support 2d. In XL, values are listed row-wise, do the
* same. */
for( nRow = 0; nRow < nRows ; nRow++ )
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index bea16130257f..c6045ad57362 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3874,7 +3874,7 @@ ScInterpreter::ScInterpreter( ScFormulaCell* pCell, ScDocument& rDoc, ScInterpre
else
bMatrixFormula = false;
- // Lets not use the global stack while formula-group-threading.
+ // Let's not use the global stack while formula-group-threading.
// as it complicates its life-cycle mgmt since for threading formula-groups,
// ScInterpreter is preallocated (in main thread) for each worker thread.
if (!bGlobalStackInUse && !bForGroupThreading)
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index dce3f25819ea..2f4fe0f19fa1 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -317,7 +317,7 @@ ScMatrixRef ScInterpreter::CreateMatrixFromDoubleRef( const FormulaToken* pToken
{
// Clamp the size of the matrix area to rows which actually contain data.
// For e.g. SUM(IF over an entire column, this can make a big difference,
- // But lets not trim the empty space from the top or left as this matters
+ // But let's not trim the empty space from the top or left as this matters
// at least in matrix formulas involving IF().
// Refer ScCompiler::AnnotateTrimOnDoubleRefs() where double-refs are
// flagged for trimming.