sc/source/core/data/formulacell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 372c7b231c2d75f6d9bade63cd1b980a84391d4f Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Thu Sep 1 13:52:26 2022 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Thu Sep 1 16:22:23 2022 +0200 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.lu...@collabora.com> diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 7e0400514122..0bad3e6b73d1 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -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