update dev300-m58
[ooovba.git] / applied_patches / 0184-calc-odf-export-autostyle-maxrow.diff
blob447aafd49ccd38c741471e968021ee8b10db1813
1 diff --git sc/source/filter/xml/xmlexprt.cxx sc/source/filter/xml/xmlexprt.cxx
2 index c086a45..3658d78 100644
3 --- sc/source/filter/xml/xmlexprt.cxx
4 +++ sc/source/filter/xml/xmlexprt.cxx
5 @@ -1959,7 +1959,7 @@ void ScXMLExport::_ExportAutoStyles()
6 else
7 pRowStyles->AddNewTable(nTable, nRows);
8 sal_Int32 nRow = 0;
9 - while ( /*nRow <= nRows && */nRow <= MAXROW)
10 + while (nRow <= nRows && nRow <= MAXROW)
12 sal_Int32 nIndex = 0;
13 uno::Reference <beans::XPropertySet> xRowProperties(xTableRows->getByIndex(nRow), uno::UNO_QUERY);