summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/formulacell.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 9eb36602d319..fafccf9dc769 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -4713,6 +4713,9 @@ static SCCOL lcl_probeLeftOrRightFGs(const ScFormulaCellGroupRef& xGroup, const
if (!xNGroup)
break;
+ if (!pCell->GetCode()->IsEnabledForThreading())
+ break;
+
if (xNGroup->mpTopCell->aPos.Row() != aAddr.Row())
break;