diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-01 09:31:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-01 10:43:56 +0000 |
commit | 2eeef79b78242a89ef6901ba67b30f178d59027f (patch) | |
tree | b85607c7b7093f5055ffd069e3bb2603fc5ff3b7 /tools | |
parent | 1431c95d19cde8b913d772c9a99c3ebd886e983a (diff) |
callcatcher: update list
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() |* *************************************************************************/ |