[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jul 27 08:48:38 UTC 2018
sc/source/core/tool/interpr1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2008a520e429bc2581001d61b63ff934c2255be0
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Thu Jul 26 15:00:09 2018 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Fri Jul 27 10:48:06 2018 +0200
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 at redhat.com>
Tested-by: Jenkins
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;
More information about the Libreoffice-commits
mailing list