update dev300-m58
[ooovba.git] / applied_patches / 0190-calc-ods-export-no-more-ushort.diff
blobca553510e0cf7c056661cab4d5168314b510669d
1 diff --git sc/source/filter/xml/xmlexprt.cxx sc/source/filter/xml/xmlexprt.cxx
2 index 3658d78..01cd671 100644
3 --- sc/source/filter/xml/xmlexprt.cxx
4 +++ sc/source/filter/xml/xmlexprt.cxx
5 @@ -1931,7 +1931,7 @@ void ScXMLExport::_ExportAutoStyles()
8 sal_Int32 nOld(nColumn);
9 - nColumn = pDoc->GetNextDifferentChangedCol(sal::static_int_cast<SCTAB>(nTable), static_cast<USHORT>(nColumn));
10 + nColumn = pDoc->GetNextDifferentChangedCol(sal::static_int_cast<SCTAB>(nTable), static_cast<SCCOL>(nColumn));
11 for (sal_Int32 i = nOld + 1; i < nColumn; ++i)
12 pColumnStyles->AddFieldStyleName(nTable, i, nIndex, bIsVisible);
14 @@ -1981,7 +1981,7 @@ void ScXMLExport::_ExportAutoStyles()
17 sal_Int32 nOld(nRow);
18 - nRow = pDoc->GetNextDifferentChangedRow(sal::static_int_cast<SCTAB>(nTable), static_cast<USHORT>(nRow), false);
19 + nRow = pDoc->GetNextDifferentChangedRow(sal::static_int_cast<SCTAB>(nTable), static_cast<SCROW>(nRow), false);
20 for (sal_Int32 i = nOld + 1; i < nRow; ++i)
21 pRowStyles->AddFieldStyleName(nTable, i, nIndex);