[Libreoffice-commits] .: binfilter/bf_svtools binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Apr 19 09:32:06 PDT 2012
binfilter/bf_svtools/source/memtools/tl_contnr.cxx | 26 ---------------------
binfilter/inc/bf_tools/contnr.hxx | 2 -
2 files changed, 28 deletions(-)
New commits:
commit baa2838ed4a0d1a9dd4b2ff88e5e033a37bf31cd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Apr 19 17:29:48 2012 +0100
callcatcher: strip Container down
diff --git a/binfilter/bf_svtools/source/memtools/tl_contnr.cxx b/binfilter/bf_svtools/source/memtools/tl_contnr.cxx
index e548d00..2719d61 100644
--- a/binfilter/bf_svtools/source/memtools/tl_contnr.cxx
+++ b/binfilter/bf_svtools/source/memtools/tl_contnr.cxx
@@ -788,17 +788,6 @@ void Container::ImpInsert( void* p, CBlock* pBlock, sal_uInt16 nIndex )
|*
*************************************************************************/
-void Container::Insert( void* p )
-{
- ImpInsert( p, pCurBlock, nCurIndex );
-}
-
-/*************************************************************************
-|*
-|* Container::Insert()
-|*
-*************************************************************************/
-
void Container::Insert( void* p, sal_uIntPtr nIndex )
{
if ( nCount <= nIndex )
@@ -903,21 +892,6 @@ void* Container::ImpRemove( CBlock* pBlock, sal_uInt16 nIndex )
|*
*************************************************************************/
-void* Container::Remove()
-{
- // Wenn kein Item vorhanden ist, NULL zurueckgeben
- if ( !nCount )
- return NULL;
- else
- return ImpRemove( pCurBlock, nCurIndex );
-}
-
-/*************************************************************************
-|*
-|* Container::Remove()
-|*
-*************************************************************************/
-
void* Container::Remove( sal_uIntPtr nIndex )
{
// Ist Index nicht innerhalb des Containers, dann NULL zurueckgeben
diff --git a/binfilter/inc/bf_tools/contnr.hxx b/binfilter/inc/bf_tools/contnr.hxx
index 6d7e70f..9267e5e 100644
--- a/binfilter/inc/bf_tools/contnr.hxx
+++ b/binfilter/inc/bf_tools/contnr.hxx
@@ -79,10 +79,8 @@ public:
Container( const Container& rContainer );
~Container();
- void Insert( void* p );
void Insert( void* p, sal_uIntPtr nIndex );
- void* Remove();
void* Remove( sal_uIntPtr nIndex );
void* Remove( void* p )
{ return Remove( GetPos( p ) ); }
More information about the Libreoffice-commits
mailing list