summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2018-10-12 13:42:17 +0200
committerCaolán McNamara <caolanm@redhat.com>2018-11-17 17:46:18 +0100
commit319c88d41c2896937c8320bdaed44be01b25a0a1 (patch)
tree8f0a15ba430480f001e63a9dc42b0948e15e0ece /sc
parent725fb6c3061ddca4f7c2cb5b334708e62512cca3 (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 (cherry picked from commit 3460e91ac853964015215ec75be7cf63361ca0e9) Reviewed-on: https://gerrit.libreoffice.org/63377 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-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 db03b6a3f649..8a448e9cd80c 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1366,6 +1366,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 calculcation of formula group");
mbThreadingEnabled = false;