sc/source/core/tool/interpr1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 181c737d5f2ed3718612dcafeaf458f5f147ce89 Author: Eike Rathke <er...@redhat.com> AuthorDate: Fri Sep 11 19:30:28 2020 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Sep 12 15:25:54 2020 +0200 Resolves: tdf#107459 MATCH() in descending sorted array find last equal value ... not reverse the first equal value. This only affected the array/matrix argument case, not cell references. Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102493 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins (cherry picked from commit 6f80e2d37ce11e3ea728b7ce5987f912fdfa60b3) Conflicts: sc/source/core/tool/interpr1.cxx Change-Id: I0ff574a5132b6ee93789ac32f6c5de02465263f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102428 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 4de760cedd0d..a7c0012a7ad0 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -4981,7 +4981,7 @@ void ScInterpreter::ScMatch() if (nCmp == 0) { // exact match. find the last item with the same value. - lcl_GetLastMatch( nMid, aMatAcc, nMatCount, !bAscOrder); + lcl_GetLastMatch( nMid, aMatAcc, nMatCount, false); PushDouble( nMid+1); return; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits