summaryrefslogtreecommitdiff
path: root/framework/source/fwe/xml/imagesdocumenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/xml/imagesdocumenthandler.cxx')
-rw-r--r--framework/source/fwe/xml/imagesdocumenthandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/fwe/xml/imagesdocumenthandler.cxx b/framework/source/fwe/xml/imagesdocumenthandler.cxx
index 83d42b82c539..cdf20958332a 100644
--- a/framework/source/fwe/xml/imagesdocumenthandler.cxx
+++ b/framework/source/fwe/xml/imagesdocumenthandler.cxx
@@ -682,7 +682,7 @@ void OWriteImagesDocumentHandler::WriteImagesDocument() throw
{
ImageListDescriptor* pImageList = m_aImageListsItems.pImageList;
- for ( USHORT i = 0; i < m_aImageListsItems.pImageList->Count(); i++ )
+ for ( sal_uInt16 i = 0; i < m_aImageListsItems.pImageList->Count(); i++ )
{
const ImageListItemDescriptor* pImageItems = (*pImageList)[i];
WriteImageList( pImageItems );
@@ -766,7 +766,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor*
ImageItemListDescriptor* pImageItemList = pImageList->pImageItemList;
if ( pImageItemList )
{
- for ( USHORT i = 0; i < pImageItemList->Count(); i++ )
+ for ( sal_uInt16 i = 0; i < pImageItemList->Count(); i++ )
WriteImage( (*pImageItemList)[i] );
}
@@ -801,7 +801,7 @@ void OWriteImagesDocumentHandler::WriteExternalImageList( const ExternalImageIte
m_xWriteDocumentHandler->startElement( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ELEMENT_NS_EXTERNALIMAGES )), m_xEmptyList );
m_xWriteDocumentHandler->ignorableWhitespace( ::rtl::OUString() );
- for ( USHORT i = 0; i < pExternalImageList->Count(); i++ )
+ for ( sal_uInt16 i = 0; i < pExternalImageList->Count(); i++ )
{
ExternalImageItemDescriptor* pItem = (*pExternalImageList)[i];
WriteExternalImage( pItem );