diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-24 08:48:49 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-27 14:00:47 +0200 |
commit | f4497c56b3b248fa3fefe7c18b034388d00abd5c (patch) | |
tree | 5bf3cda03fd576f0d7107956500b264dbc4b5c48 /sw/source/filter | |
parent | 17b77c9788e0555cb271efa271dd195cb19f9551 (diff) |
sal_uInt16 to int + constify
Change-Id: Ibff9519ed773ea340c59dac5cb0520fc22c9a8d7
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 3dfebf03b6e0..6b0286758816 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -149,10 +149,10 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) EE_PARA_XMLATTRIBS, EE_CHAR_XMLATTRIBS }; - sal_uInt16 nWhichIds = rPool.GetSecondaryPool() ? 5 : 2; - for( sal_uInt16 j=0; j < nWhichIds; j++ ) + const int nWhichIds = rPool.GetSecondaryPool() ? 5 : 2; + 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 ); for( i = 0; i < nItems; ++i ) { |