diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/unqidx.hxx | 2 | ||||
-rw-r--r-- | tools/source/memtools/unqidx.cxx | 22 |
2 files changed, 0 insertions, 24 deletions
diff --git a/tools/inc/tools/unqidx.hxx b/tools/inc/tools/unqidx.hxx index 1f806f9e31b1..17d9ecf0aaca 100644 --- a/tools/inc/tools/unqidx.hxx +++ b/tools/inc/tools/unqidx.hxx @@ -66,7 +66,6 @@ public: sal_uIntPtr GetCurIndex() const; sal_uIntPtr GetIndex( const void* p ) const; - sal_Bool IsIndexValid( sal_uIntPtr nIndex ) const; void* Seek( void* p ); void* First(); @@ -104,7 +103,6 @@ public: \ using UniqueIndex::Clear; \ using UniqueIndex::Count; \ using UniqueIndex::GetCurIndex; \ - using UniqueIndex::IsIndexValid; \ using UniqueIndex::GetStartIndex; \ using UniqueIndex::GetCurMaxIndex; \ \ diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx index 64e0b390d2a5..38cf2a9bd936 100644 --- a/tools/source/memtools/unqidx.cxx +++ b/tools/source/memtools/unqidx.cxx @@ -195,28 +195,6 @@ sal_uIntPtr UniqueIndex::GetIndex( const void* p ) const /************************************************************************* |* -|* UniqueIndex::IsIndexValid() -|* -*************************************************************************/ - -sal_Bool UniqueIndex::IsIndexValid( sal_uIntPtr nIndex ) const -{ - // Ist Index zulaessig - if ( (nIndex >= nStartIndex) && - (nIndex < (Container::GetSize()+nStartIndex)) ) - { - // Index ist nur zulaessig, wenn Eintrag auch belegt ist - if ( Container::ImpGetObject( nIndex-nStartIndex ) ) - return sal_True; - else - return sal_False; - } - else - return sal_False; -} - -/************************************************************************* -|* |* UniqueIndex::Seek() |* *************************************************************************/ |