summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-26 15:00:09 +0200
committerEike Rathke <erack@redhat.com>2018-07-27 10:48:06 +0200
commit2008a520e429bc2581001d61b63ff934c2255be0 (patch)
tree69a0c1bcc86efda910cbcf139b57f8bce85fa568
parenta44d1b8d47e0ef6645c7c5def1fe5d34d470ae0b (diff)
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 <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--sc/source/core/tool/interpr1.cxx2
1 files changed, 1 insertions, 1 deletions
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;