[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Fri Jun 26 07:37:01 PDT 2015


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

New commits:
commit 4091b4fbdce40262eba46ab94653287b1fd928e8
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jun 26 16:30:12 2015 +0200

    entire rows/cols have absolute col/row anchors, tdf#44419 follow-up
    
    Change-Id: I2ae8c1c81734efd7c80558ba5337253985e8e8b7

diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index dbcfb15..8ac9d1a 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1491,11 +1491,15 @@ static sal_uInt16 lcl_ScRange_Parse_OOo( ScRange& rRange,
                 {
                     rRange.aStart.SetRow(0);
                     rRange.aEnd.SetRow(MAXROW);
+                    nRes1 |= SCA_ROW_ABSOLUTE;
+                    nRes2 |= SCA_ROW_ABSOLUTE;
                 }
                 else
                 {
                     rRange.aStart.SetCol(0);
                     rRange.aEnd.SetCol(MAXCOL);
+                    nRes1 |= SCA_COL_ABSOLUTE;
+                    nRes2 |= SCA_COL_ABSOLUTE;
                 }
             }
             if (nRes1 && nRes2)


More information about the Libreoffice-commits mailing list