sc/source/core/data/formulacell.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 43922f1aaa3d7bced4b02f6662c5c12ee698132f Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Fri Nov 16 19:42:03 2018 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Mon Dec 3 15:29:37 2018 +0100 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: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index bad0192822b8..622313e2cc63 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits