[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sc/source

Eike Rathke erack at redhat.com
Wed Feb 6 11:31:34 PST 2013


 sc/source/core/tool/interpr1.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit e577ebc9403d77fe4847a2e1d55a83d432f214f8
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Feb 6 18:14:52 2013 +0100

    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 at gmail.com>
    Reviewed-by: Kohei Yoshida <kohei.yoshida at gmail.com>
    Tested-by: Kohei Yoshida <kohei.yoshida at gmail.com>

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 0ef12c7..1553a9b 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);


More information about the Libreoffice-commits mailing list