Kaydet (Commit) 7dfb72e6 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

correct fix for fdo#62938

Change-Id: Ib8e5cf92d733bafaef7f9e0bb8e3bf823075f489
üst 59519242
......@@ -231,13 +231,14 @@ 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)
{
nGroupStartRow = rImport.GetTables().GetCurrentRow();
++nGroupStartRow;
ScAddress aAddr = rImport.GetTables().GetCurrentCellPos();
nHeaderStartRow = aAddr.Row();
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for( sal_Int16 i=0; i < nAttrCount; ++i )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment