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

New commits:
commit 2e5b6fd2d1c1b23eef3c32222bfb0efd7a27d21d
Author: Markus Mohrhard <markus.mohrh...@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.yosh...@suse.de>
    Tested-by: Kohei Yoshida <kohei.yosh...@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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to