[Libreoffice-commits] core.git: sc/source
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 21 20:14:06 UTC 2019
sc/source/core/tool/interpr1.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 12b54e485103aad4e7dd26423c355b96403b88ba
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Mon Oct 21 17:06:55 2019 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Mon Oct 21 22:12:42 2019 +0200
Related: tdf#127982 In JumpMatrix do not propagate individual errors as global
Which for
https://bugs.documentfoundation.org/attachment.cgi?id=154776
was the case in sheet1 МультиВПР.E6:E20 even in the to-be-fixed
SMALL() implementation.
The error is propagated as usual individual matrix element coded
double error.
Change-Id: I5fc6fa3454b354a4017a51a640b96ec80f74f4a4
Reviewed-on: https://gerrit.libreoffice.org/81252
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 47c22449c581..16a9d933ed03 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -777,6 +777,10 @@ bool ScInterpreter::JumpMatrix( short nStackLevel )
}
else
{
+ // GetMatrix() does SetErrorInterpreter() at the
+ // matrix, do not propagate an error from
+ // matrix->GetValue() as global error.
+ pMat->SetErrorInterpreter(nullptr);
lcl_storeJumpMatResult(pMat.get(), pJumpMatrix, nC, nR);
}
lcl_AdjustJumpMatrix( pJumpMatrix, nCols, nRows );
More information about the Libreoffice-commits
mailing list