diff options
author | Eike Rathke <erack@redhat.com> | 2013-02-06 18:14:52 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-06 19:31:15 +0000 |
commit | e577ebc9403d77fe4847a2e1d55a83d432f214f8 (patch) | |
tree | fcc434ac7f918047e13cd2e37dbee3ad7f01b035 /sc | |
parent | dc65bfac2597430ea087a9dcbcded7316d9319b7 (diff) |
resolved fdo#60366 make MATCH() accept a single cell reference
Change-Id: I7059abdb6232b95e0b940b34f74bf87182510146
(cherry picked from commit c0fdab890086c2cb749c348db42eb760e31539de)
Reviewed-on: https://gerrit.libreoffice.org/2018
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 0ef12c742ded..1553a9b3e631 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -4947,6 +4947,12 @@ void ScInterpreter::ScMatch() switch (GetStackType()) { + case svSingleRef: + PopSingleRef( nCol1, nRow1, nTab1); + nCol2 = nCol1; + nRow2 = nRow1; + nTab2 = nTab1; + break; case svDoubleRef: { PopDoubleRef(nCol1, nRow1, nTab1, nCol2, nRow2, nTab2); |