sc: Fix condition in ScTokenArray::CheckForThreading()
Regression from 5b4826b51eee143a564dfa94ed50ab89cc36216b. Previously: else if (SC_OPCODE_START_BIN_OP <= eOp && eOp < SC_OPCODE_STOP_UN_OP) Change-Id: I9078713a9dea249e481b0969acf9597cbe25bce4 Signed-off-by: Aron Budea <aron.budea@collabora.com> Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12062 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.com> (cherry picked from commit 73a553605e75758db734744720ba8a30481f99e6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210925 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -1553,7 +1553,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
|
||||
;
|
||||
}
|
||||
}
|
||||
else if (ocStartUnaryOperators <= eOp && eOp < ocStopUnaryOperators)
|
||||
else if (isBinaryOperatorOpCode(eOp) || isUnaryOperatorOpCode(eOp))
|
||||
{
|
||||
if (ScInterpreter::GetGlobalConfig().mbOpenCLSubsetOnly &&
|
||||
ScInterpreter::GetGlobalConfig().mpOpenCLSubsetOpCodes->find(eOp) == ScInterpreter::GetGlobalConfig().mpOpenCLSubsetOpCodes->end())
|
||||
|
||||
Reference in New Issue
Block a user