sc/source/core/tool/interpr1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6f80e2d37ce11e3ea728b7ce5987f912fdfa60b3 Author: Eike Rathke <er...@redhat.com> AuthorDate: Fri Sep 11 19:30:28 2020 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Fri Sep 11 21:18:39 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. Change-Id: I0ff574a5132b6ee93789ac32f6c5de02465263f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102493 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 3c1fab117e96..44e0f9293617 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -4982,7 +4982,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