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

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Jun 6 06:28:28 PDT 2013


 sc/source/filter/xml/xmlrowi.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2e5b6fd2d1c1b23eef3c32222bfb0efd7a27d21d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Jun 3 04:49:12 2013 +0200

    correct fix for fdo#62938
    
    Change-Id: I8569e4e120a6fd2b626db0bdaadf5d9234d09a36
    Reviewed-on: https://gerrit.libreoffice.org/4138
    Reviewed-by: Kohei Yoshida <kohei.yoshida at suse.de>
    Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>

diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index ec4c5a5..e250d6c 100644
--- a/sc/source/filter/xml/xmlrowi.cxx
+++ b/sc/source/filter/xml/xmlrowi.cxx
@@ -231,7 +231,8 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport,
     // don't have any attributes
     if (bHeader)
     {
-        nHeaderStartRow = rImport.GetTables().GetCurrentRow();
+        ScAddress aAddr = rImport.GetTables().GetCurrentCellPos();
+        nHeaderStartRow = aAddr.Row();
         ++nHeaderStartRow;
     }
     else if (bGroup)


More information about the Libreoffice-commits mailing list