Kaydet (Commit) 43922f1a authored tarafından Luboš Luňák's avatar Luboš Luňák

make sure opencl is not used from withing ocTableOp

Table operations do some tricks with reusing a cell with different values,
and this confuses opencl handling, which operates on a group as a whole.
Possibly relevant only with SC_FORCE_CALCULATION=opencl,
sc_subsequent_filters_test fails in testDataTableOneVarXLSX().

Change-Id: I55e0d238061c8a45a2388ccf6c769ff6a1fddbcc
Reviewed-on: https://gerrit.libreoffice.org/64230
Tested-by: Jenkins
Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
üst 54ea2630
......@@ -4756,6 +4756,10 @@ bool ScFormulaCell::InterpretFormulaGroupOpenCL(sc::FormulaLogger::GroupScope& a
return false;
}
// TableOp does tricks with using a cell with different values, just bail out.
if(pDocument->IsInInterpreterTableOp())
return false;
if (bDependencyCheckFailed)
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment