diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-03 04:44:00 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-03 05:04:19 +0200 |
commit | 59519242dd11ac91720a9646197b803f5ed812b7 (patch) | |
tree | 3a83b532eeabea4f8d02e68ef0bce64df3b53cbd /sc/source/filter/xml/xmlrowi.cxx | |
parent | this was commited accidentally (diff) | |
download | core-59519242dd11ac91720a9646197b803f5ed812b7.tar.gz core-59519242dd11ac91720a9646197b803f5ed812b7.zip |
Revert "the print range may start in row 0, fdo#62938"
This reverts commit 988d388007ddafaa8a59735df99cbce678a689a8.
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlrowi.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index bbe2c92cabe7..3fa6142091b3 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -218,7 +218,7 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, const OUString& rLName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - const bool bTempHeader, const bool bTempGroup, bool bFirstRow ) : + const bool bTempHeader, const bool bTempGroup ) : SvXMLImportContext( rImport, nPrfx, rLName ), nHeaderStartRow(0), nHeaderEndRow(0), @@ -232,14 +232,12 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, if (bHeader) { nHeaderStartRow = rImport.GetTables().GetCurrentRow(); - if(!bFirstRow) - ++nHeaderStartRow; + ++nHeaderStartRow; } else if (bGroup) { nGroupStartRow = rImport.GetTables().GetCurrentRow(); - if(!bFirstRow) - ++nGroupStartRow; + ++nGroupStartRow; sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; for( sal_Int16 i=0; i < nAttrCount; ++i ) { |