diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2016-03-04 23:10:50 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2016-03-05 11:32:11 +0100 |
commit | 1d4914e9e5cad4f443a742a34862620143176dbc (patch) | |
tree | 87a66cd97e904c47c5503d5ae28a7b5a0e4f41e7 /tools | |
parent | adee5647eaa887d286efbdc5a33fe8ca74d70995 (diff) |
Use Index consistently
Change-Id: I20b7c1bd2ecccc21967c4edab37a94c971aa8a8d
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/memtools/unqidx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx index 4bd05bb61d40..3d60fb847a1c 100644 --- a/tools/source/memtools/unqidx.cxx +++ b/tools/source/memtools/unqidx.cxx @@ -96,7 +96,7 @@ UniqueIndexImpl::Index UniqueIndexImpl::LastIndex() const UniqueIndexImpl::Index UniqueIndexImpl::NextIndex(Index aIndex) const { - std::map<sal_uInt32, void*>::const_iterator it = maMap.find( aIndex ); + std::map<Index, void*>::const_iterator it = maMap.find( aIndex ); if ( it == maMap.end() ) return IndexNotFound; ++it; @@ -107,7 +107,7 @@ UniqueIndexImpl::Index UniqueIndexImpl::NextIndex(Index aIndex) const UniqueIndexImpl::Index UniqueIndexImpl::GetIndexOf(void* p) const { - for( std::map<sal_uInt32, void*>::const_iterator it = maMap.begin(); it != maMap.end(); ++it ) + for( std::map<Index, void*>::const_iterator it = maMap.begin(); it != maMap.end(); ++it ) if( it->second == p ) return it->first; return IndexNotFound; |