summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2018-10-12 13:42:17 +0200
committerLuboš Luňák <l.lunak@collabora.com>2018-11-13 13:18:44 +0100
commit3460e91ac853964015215ec75be7cf63361ca0e9 (patch)
treef9fecf3def3fd193d4504e3f0df0e3b87815d1db
parent9553f2afd0527ba435dae7bf4506c620a943b150 (diff)
blacklist svExternalName for calc threading
It's the same like svExternal(Single|Double)Ref, there's a lot of thread-unsafe code involved. Change-Id: Ief8bbbd9393788c374215412ee5236ce6bb551fa Reviewed-on: https://gerrit.libreoffice.org/63176 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins
-rw-r--r--sc/source/core/tool/token.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index a7752cf232a2..293b238150aa 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1333,6 +1333,7 @@ void ScTokenArray::CheckForThreading( const FormulaToken& r )
{
case svExternalDoubleRef:
case svExternalSingleRef:
+ case svExternalName:
SAL_INFO("sc.core.formulagroup", "opcode ocPush: variable type " << StackVarEnumToString(r.GetType())
<< " disables threaded calculation of formula group");
mbThreadingEnabled = false;