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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user