[Libreoffice-commits] .: binfilter/bf_svtools binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Mar 2 00:52:03 PST 2012
binfilter/bf_svtools/source/memtools/tl_unqidx.cxx | 20 --------------------
binfilter/inc/bf_tools/unqidx.hxx | 1 -
2 files changed, 21 deletions(-)
New commits:
commit 359bd679b9cc9849e9336c6b6fc289e900a18fdf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 2 08:18:16 2012 +0000
reduce UniqueIndex
diff --git a/binfilter/bf_svtools/source/memtools/tl_unqidx.cxx b/binfilter/bf_svtools/source/memtools/tl_unqidx.cxx
index 66ebdf8..9bba4c2 100644
--- a/binfilter/bf_svtools/source/memtools/tl_unqidx.cxx
+++ b/binfilter/bf_svtools/source/memtools/tl_unqidx.cxx
@@ -138,26 +138,6 @@ sal_uIntPtr UniqueIndex::GetCurIndex() const
/*************************************************************************
|*
-|* UniqueIndex::GetIndex()
-|*
-*************************************************************************/
-
-sal_uIntPtr UniqueIndex::GetIndex( const void* p ) const
-{
- // Wird ein NULL-Pointer uebergeben, dann wurde Pointer nicht gefunden
- if ( !p )
- return UNIQUEINDEX_ENTRY_NOTFOUND;
-
- sal_uIntPtr nIndex = Container::GetPos( p );
-
- if ( nIndex != CONTAINER_ENTRY_NOTFOUND )
- return nIndex+nStartIndex;
- else
- return UNIQUEINDEX_ENTRY_NOTFOUND;
-}
-
-/*************************************************************************
-|*
|* UniqueIndex::IsIndexValid()
|*
*************************************************************************/
diff --git a/binfilter/inc/bf_tools/unqidx.hxx b/binfilter/inc/bf_tools/unqidx.hxx
index 273f670..3bf63ae 100644
--- a/binfilter/inc/bf_tools/unqidx.hxx
+++ b/binfilter/inc/bf_tools/unqidx.hxx
@@ -65,7 +65,6 @@ public:
sal_uIntPtr Count() const { return nCount; }
sal_uIntPtr GetCurIndex() const;
- sal_uIntPtr GetIndex( const void* p ) const;
sal_Bool IsIndexValid( sal_uIntPtr nIndex ) const;
void* Seek( sal_uIntPtr nIndex );
More information about the Libreoffice-commits
mailing list