summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-03 04:49:12 +0200
committerKohei Yoshida <kohei.yoshida@suse.de>2013-06-06 13:28:06 +0000
commit2e5b6fd2d1c1b23eef3c32222bfb0efd7a27d21d (patch)
tree766c018692e35c0fc8aa1563c204eaa77a9587ec
parent0f7b717a7cd42506f2915ad0aa24e4fb926a9d51 (diff)
correct fix for fdo#62938
Change-Id: I8569e4e120a6fd2b626db0bdaadf5d9234d09a36 Reviewed-on: https://gerrit.libreoffice.org/4138 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
-rw-r--r--sc/source/filter/xml/xmlrowi.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index ec4c5a5e10a1..e250d6cb3d1a 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)