sc/source/filter/xml/xmlrowi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit dfcad766ad3937c5dc435fc10b1387b2c941790e Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Mon Jun 3 23:29:51 2013 +0200 restore old code There is some strange handling for row 0 in the calc core code. Without a very deep inspection I can't decide whether the test or my change is the problem but for now we can live with the old behavior. Change-Id: I69615349f5b46856aba36dada235a49c84eb03af diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index efcc0e4..f6b1ae05 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -237,8 +237,8 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, } else if (bGroup) { - ScAddress aAddr = rImport.GetTables().GetCurrentCellPos(); - nHeaderStartRow = aAddr.Row(); + nGroupStartRow = rImport.GetTables().GetCurrentRow(); + ++nGroupStartRow; sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; for( sal_Int16 i=0; i < nAttrCount; ++i ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits