summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-02-06 18:14:52 +0100
committerEike Rathke <erack@redhat.com>2013-02-06 18:16:41 +0100
commitc0fdab890086c2cb749c348db42eb760e31539de (patch)
treeebd58e9e7adf53088e324bf589cb849be25ff4fe
parent82e3760855fdb3f549b21fa6d37eb75a2adf31b4 (diff)
resolved fdo#60366 make MATCH() accept a single cell reference
Change-Id: I7059abdb6232b95e0b940b34f74bf87182510146
-rw-r--r--sc/source/core/tool/interpr1.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 2ab779afb1fa..1f0206c382b6 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -5045,6 +5045,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);