use forced Calc calculation type even for single rows

It's for testing/debugging, so this should not get optimized.

Change-Id: Ib72eaa8ddb2c49ceee051856d977e2393bbb6966
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139173
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
Luboš Luňák
2022-09-01 16:22:23 +02:00
parent 2dc0e72f41
commit 372c7b231c
+1 -1
View File
@@ -4664,7 +4664,7 @@ bool ScFormulaCell::InterpretFormulaGroup(SCROW nStartOffset, SCROW nEndOffset)
nEndOffset = nMaxOffset;
}
if (nEndOffset == nStartOffset)
if (nEndOffset == nStartOffset && forceType == ForceCalculationNone)
return false; // Do not use threads for a single row.
// Guard against endless recursion of Interpret() calls, for this to work