diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 15:44:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | 6140ca9f1d728475e332f9fa96ee62dda58687ea (patch) | |
tree | 284733762d73048939675ca39a8932a3ca2009f5 /framework/source/xml | |
parent | afcf1ecee1af1312551583b9fc860c1881ba2134 (diff) |
loplugin:loopvartoosmall
Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26
Diffstat (limited to 'framework/source/xml')
-rw-r--r-- | framework/source/xml/imagesdocumenthandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index d78cd8f5abd8..8ecf8e4e24a6 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -646,7 +646,7 @@ void OWriteImagesDocumentHandler::WriteImagesDocument() throw { ImageListDescriptor* pImageList = m_aImageListsItems.pImageList; - for ( sal_uInt16 i = 0; i < m_aImageListsItems.pImageList->size(); i++ ) + for ( size_t i = 0; i < m_aImageListsItems.pImageList->size(); i++ ) { const ImageListItemDescriptor* pImageItems = &(*pImageList)[i]; WriteImageList( pImageItems ); @@ -728,7 +728,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor* ImageItemListDescriptor* pImageItemList = pImageList->pImageItemList; if ( pImageItemList ) { - for ( sal_uInt16 i = 0; i < pImageItemList->size(); i++ ) + for ( size_t i = 0; i < pImageItemList->size(); i++ ) WriteImage( &(*pImageItemList)[i] ); } @@ -763,7 +763,7 @@ void OWriteImagesDocumentHandler::WriteExternalImageList( const ExternalImageIte m_xWriteDocumentHandler->startElement( OUString( ELEMENT_NS_EXTERNALIMAGES ), m_xEmptyList ); m_xWriteDocumentHandler->ignorableWhitespace( OUString() ); - for ( sal_uInt16 i = 0; i < pExternalImageList->size(); i++ ) + for ( size_t i = 0; i < pExternalImageList->size(); i++ ) { const ExternalImageItemDescriptor* pItem = &(*pExternalImageList)[i]; WriteExternalImage( pItem ); |