[Libreoffice-commits] core.git: Branch 'libreoffice-3-6' - sc/source

Eike Rathke erack at redhat.com
Wed Feb 6 11:32:05 PST 2013


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

New commits:
commit b4c78b8480b1cc1e867180fc994f5c5162fa3e42
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/2019
    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 58413af..42a0825 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4660,6 +4660,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