From 2008a520e429bc2581001d61b63ff934c2255be0 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 26 Jul 2018 15:00:09 +0200 Subject: Related: tdf#91502 handle FORMULA() pCur->IsInForceArray() as well ... so using it in SUMPRODUCT() and other ForceArray context works as expected. Change-Id: I60197301edcd2c24f8cb0c5fcf4dc4699d9a6165 Reviewed-on: https://gerrit.libreoffice.org/58118 Reviewed-by: Eike Rathke Tested-by: Jenkins --- sc/source/core/tool/interpr1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 3eb8fab7b968..c0558c869ad4 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -2759,7 +2759,7 @@ void ScInterpreter::ScFormula() switch ( GetStackType() ) { case svDoubleRef : - if (bMatrixFormula) + if (bMatrixFormula || pCur->IsInForceArray()) { SCCOL nCol1, nCol2; SCROW nRow1, nRow2; -- cgit