diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-12 00:46:40 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:38 +0200 |
commit | 226fbf44ebc12b2e0e377457227a922a3f95183e (patch) | |
tree | 7d90bfe7bae26511cef21d23be936a2fd9d03fea /svtools | |
parent | 6da43412281a74d67ac4f64222b5eb89793f5b95 (diff) |
warning C4242: 'initializing' : conversion from 'size_t' to 'const sal_uInt16'
Change-Id: I80336164803a494bdabaa5e142ac91c2e6d26911
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/unoimap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index dda3dcdc0949..96adcee23f46 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -567,8 +567,8 @@ SvUnoImageMap::SvUnoImageMap( const ImageMap& rMap, const SvEventDescription* pS { maName = rMap.GetName(); - const sal_uInt16 nCount = rMap.GetIMapObjectCount(); - for( sal_uInt16 nPos = 0; nPos < nCount; nPos++ ) + const std::size_t nCount = rMap.GetIMapObjectCount(); + for( std::size_t nPos = 0; nPos < nCount; nPos++ ) { IMapObject* pMapObject = rMap.GetIMapObject( nPos ); SvUnoImageMapObject* pUnoObj = new SvUnoImageMapObject( *pMapObject, pSupportedMacroItems ); |