[Libreoffice-commits] core.git: sc/source
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 11 19:19:20 UTC 2020
sc/source/core/tool/interpr1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6f80e2d37ce11e3ea728b7ce5987f912fdfa60b3
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Fri Sep 11 19:30:28 2020 +0200
Commit: Eike Rathke <erack at 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 <erack at 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;
}
More information about the Libreoffice-commits
mailing list