From d91b12383ecdceb4c2be7a5da11d84ac2146fddb Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 3 Jun 2013 23:29:51 +0200 Subject: 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 --- sc/source/filter/xml/xmlrowi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index efcc0e49bf66..f6b1ae057247 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 ) { -- cgit v1.2.3