Kaydet (Commit) f4497c56 authored tarafından Matteo Casalin's avatar Matteo Casalin

sal_uInt16 to int + constify

Change-Id: Ibff9519ed773ea340c59dac5cb0520fc22c9a8d7
üst 17b77c97
...@@ -149,10 +149,10 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) ...@@ -149,10 +149,10 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
EE_PARA_XMLATTRIBS, EE_PARA_XMLATTRIBS,
EE_CHAR_XMLATTRIBS }; EE_CHAR_XMLATTRIBS };
sal_uInt16 nWhichIds = rPool.GetSecondaryPool() ? 5 : 2; const int nWhichIds = rPool.GetSecondaryPool() ? 5 : 2;
for( sal_uInt16 j=0; j < nWhichIds; j++ ) for( int j=0; j < nWhichIds; ++j )
{ {
sal_uInt16 nWhichId = aWhichIds[j]; const sal_uInt16 nWhichId = aWhichIds[j];
sal_uInt32 i=0, nItems = rPool.GetItemCount2( nWhichId ); sal_uInt32 i=0, nItems = rPool.GetItemCount2( nWhichId );
for( i = 0; i < nItems; ++i ) for( i = 0; i < nItems; ++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