summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-03-26 10:22:05 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-03-26 11:52:40 +0100
commitf3b98808b13e7ec7bfcee9e249175cbb75ee7245 (patch)
treea78ca123176ca0218194bf8af5abde2c5184ed78 /sc/source/core/data
parent3b857c1d195003f75df6ab3633a263093e25cd91 (diff)
sc: fix incorrect comment
it's wrong since it was introduced in 12c95935f265b484c0a2fa13470085710729c903 $SC_FORCE_CALCULATION to force Calc use opencl/threads for everything See sc/source/core/tool/calcconfig.cxx:39 Change-Id: I5569e220059d66a4bf71ec267cae603810c066c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113149 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/formulacell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index cad18eb8022a..93e9067b9016 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -4607,7 +4607,7 @@ bool ScFormulaCell::InterpretFormulaGroup(SCROW nStartOffset, SCROW nEndOffset)
return false;
}
- // Use SC_TEST_CALCULATION=opencl/threads to force calculation e.g. for unittests
+ // Use SC_FORCE_CALCULATION=opencl/threads to force calculation e.g. for unittests
static ForceCalculationType forceType = ScCalcConfig::getForceCalculationType();
if (forceType == ForceCalculationCore
|| ( GetWeight() < ScInterpreter::GetGlobalConfig().mnOpenCLMinimumFormulaGroupSize