diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-25 00:43:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 12:18:08 +0100 |
commit | 70eb5c15e89409c22dbcdd7c49fa6271cc535d6b (patch) | |
tree | 5c9885f9e742e43dad124f026bce4008e955d03c /tools | |
parent | 4eb52acf4e47ae659b1a3688e16e75509ab70597 (diff) |
callcatcher: shiny unused method reduction from to-stl conversions
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/table.hxx | 3 | ||||
-rw-r--r-- | tools/source/memtools/table.cxx | 15 |
2 files changed, 0 insertions, 18 deletions
diff --git a/tools/inc/tools/table.hxx b/tools/inc/tools/table.hxx index ec0c82cf663b..ec6927e9be93 100644 --- a/tools/inc/tools/table.hxx +++ b/tools/inc/tools/table.hxx @@ -68,7 +68,6 @@ public: sal_uIntPtr SearchKey( sal_uIntPtr nKey, sal_uIntPtr* pPos = NULL ) const; void* Seek( sal_uIntPtr nKey ); - void* Seek( void* p ); void* First(); void* Last(); void* Next(); @@ -129,8 +128,6 @@ public: \ \ Type Seek( sal_uIntPtr nKey ) \ { return (Type)Table::Seek( nKey ); } \ - Type Seek( Type p ) \ - { return (Type)Table::Seek( (void*)p ); } \ Type First() { return (Type)Table::First(); } \ Type Last() { return (Type)Table::Last(); } \ Type Next() { return (Type)Table::Next(); } \ diff --git a/tools/source/memtools/table.cxx b/tools/source/memtools/table.cxx index 3586c2769cec..9a55fb7add66 100644 --- a/tools/source/memtools/table.cxx +++ b/tools/source/memtools/table.cxx @@ -294,21 +294,6 @@ void* Table::Seek( sal_uIntPtr nKey ) return NULL; } -// ----------------------------------------------------------------------- - -void* Table::Seek( void* p ) -{ - sal_uIntPtr nKey = GetKey( p ); - - // Ist Key vorhanden, dann als aktuellen Eintrag setzen - if ( nKey != TABLE_ENTRY_NOTFOUND ) - return Seek( nKey ); - else - return NULL; -} - -// ----------------------------------------------------------------------- - void* Table::First() { // Testen, ob ein Eintrag vorhanden ist |