diff options
author | Eike Rathke <erack@redhat.com> | 2019-10-21 17:06:55 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-10-21 22:12:42 +0200 |
commit | 12b54e485103aad4e7dd26423c355b96403b88ba (patch) | |
tree | b1b41e40a60e57f9be3d685a7a8c98060fed111a /sc | |
parent | 1d4de2b6ef8a84481a8bc9daffa946c1ac77a7ae (diff) |
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@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 ); |