diff options
Diffstat (limited to 'tools/source/memtools/unqidx.cxx')
-rw-r--r-- | tools/source/memtools/unqidx.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx index 726c96c07b03..4e4a87344a38 100644 --- a/tools/source/memtools/unqidx.cxx +++ b/tools/source/memtools/unqidx.cxx @@ -45,23 +45,6 @@ sal_uIntPtr UniqueIndexImpl::Insert( void* p ) return ( nUniqIndex + nStartIndex - 1 ); } -void UniqueIndexImpl::Insert( sal_uIntPtr nIndex, void* p ) -{ - // NULL-Pointer not allowed - if ( !p ) - return; - - sal_uIntPtr nContIndex = nIndex - nStartIndex; - - bool bFound = maMap.find( nContIndex ) != maMap.end(); - - // Insert object to array - maMap[ nContIndex ] = p; - - if( !bFound ) - nCount++; -} - void* UniqueIndexImpl::Remove( sal_uIntPtr nIndex ) { // Check for valid index |