diff options
author | Eike Rathke <erack@redhat.com> | 2018-07-26 15:00:09 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-27 10:48:06 +0200 |
commit | 2008a520e429bc2581001d61b63ff934c2255be0 (patch) | |
tree | 69a0c1bcc86efda910cbcf139b57f8bce85fa568 /sc | |
parent | a44d1b8d47e0ef6645c7c5def1fe5d34d470ae0b (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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
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; |