summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-08-03 01:51:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-08-03 01:54:39 +0200
commit1b5f37d262718920f4efe6387287d76d97daeba4 (patch)
treed4010e93b3b373bb48aaadff6eefcd1200754904 /svl
parent1e54169bb51f46a866857960afbb5065681c5745 (diff)
callcatcher: remove unused methods
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/itemiter.hxx1
-rw-r--r--svl/inc/svl/itempool.hxx2
-rw-r--r--svl/source/items/itemiter.cxx20
-rw-r--r--svl/source/items/itempool.cxx51
-rw-r--r--svl/source/items/poolio.cxx54
5 files changed, 0 insertions, 128 deletions
diff --git a/svl/inc/svl/itemiter.hxx b/svl/inc/svl/itemiter.hxx
index 55ad0e7b02a5..0bb16cb49c93 100644
--- a/svl/inc/svl/itemiter.hxx
+++ b/svl/inc/svl/itemiter.hxx
@@ -56,7 +56,6 @@ public:
const SfxPoolItem* GetCurItem()
{ return _rSet._nCount ? *(_rSet._aItems+_nAkt) : 0; }
const SfxPoolItem* NextItem();
- const SfxPoolItem* PrevItem();
sal_Bool IsAtStart() const { return _nAkt == _nStt; }
sal_Bool IsAtEnd() const { return _nAkt == _nEnd; }
diff --git a/svl/inc/svl/itempool.hxx b/svl/inc/svl/itempool.hxx
index bceedeee1591..a2e54698059a 100644
--- a/svl/inc/svl/itempool.hxx
+++ b/svl/inc/svl/itempool.hxx
@@ -239,7 +239,6 @@ public:
return pMaster; }
void FreezeIdRanges();
- void Cleanup();
void Delete();
#ifdef TF_POOLABLE
@@ -274,7 +273,6 @@ public:
return nId && nId > SFX_WHICH_MAX; }
static const SfxItemPool* GetStoringPool();
- static void SetStoringPool( const SfxItemPool * );
private:
const SfxItemPool& operator=(const SfxItemPool &); // n.i.!!
diff --git a/svl/source/items/itemiter.cxx b/svl/source/items/itemiter.cxx
index cd349a8c9321..edd30b9af508 100644
--- a/svl/source/items/itemiter.cxx
+++ b/svl/source/items/itemiter.cxx
@@ -95,24 +95,4 @@ const SfxPoolItem* SfxItemIter::NextItem()
return 0;
}
-// --------------------------------------------------------------------------
-
-
-const SfxPoolItem* SfxItemIter::PrevItem()
-{
- DBG_CHKTHIS(SfxItemIter, 0);
- SfxItemArray ppFnd = _rSet._aItems;
-
- if ( _nAkt > _nStt )
- {
- do {
- --_nAkt;
- } while( _nAkt && !*(ppFnd + _nAkt ));
- return *(ppFnd+_nAkt);
- }
- return 0;
-}
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 6d9346a3ac5c..3b4ff12d2b09 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -629,57 +629,6 @@ void SfxItemPool::Delete()
// ----------------------------------------------------------------------
-void SfxItemPool::Cleanup()
-{
- DBG_CHKTHIS(SfxItemPool, 0);
-
- //MA 16. Apr. 97: siehe ::Delete()
-
- SfxPoolItemArray_Impl** ppItemArr = pImp->ppPoolItems;
- SfxPoolItem** ppDefaultItem = ppPoolDefaults;
- SfxPoolItem** ppStaticDefaultItem = ppStaticDefaults;
- sal_uInt16 nArrCnt;
-
- HACK( "fuer Image, dort gibt es derzeit keine Statics - Bug" )
- if ( ppStaticDefaults ) //HACK fuer Image, dort gibt es keine Statics!!
- {
- for ( nArrCnt = GetSize_Impl();
- nArrCnt;
- --nArrCnt, ++ppItemArr, ++ppDefaultItem, ++ppStaticDefaultItem )
- {
- //Fuer jedes Item gibt es entweder ein Default oder ein static Default!
- if ( *ppItemArr &&
- ((*ppDefaultItem && (*ppDefaultItem)->ISA(SfxSetItem)) ||
- (*ppStaticDefaultItem)->ISA(SfxSetItem)) )
- {
- SfxPoolItemArrayBase_Impl::iterator ppHtArr = (*ppItemArr)->begin();
- for ( size_t n = (*ppItemArr)->size(); n; --n, ++ppHtArr )
- if ( *ppHtArr && !(*ppHtArr)->GetRefCount() )
- {
- DELETEZ(*ppHtArr);
- }
- }
- }
- }
-
- ppItemArr = pImp->ppPoolItems;
-
- for ( nArrCnt = GetSize_Impl();
- nArrCnt;
- --nArrCnt, ++ppItemArr )
- {
- if ( *ppItemArr )
- {
- SfxPoolItemArrayBase_Impl::iterator ppHtArr = (*ppItemArr)->begin();
- for ( size_t n = (*ppItemArr)->size(); n; --n, ++ppHtArr )
- if ( *ppHtArr && !(*ppHtArr)->GetRefCount() )
- DELETEZ( *ppHtArr );
- }
- }
-}
-
-// ----------------------------------------------------------------------
-
void SfxItemPool::SetPoolDefaultItem(const SfxPoolItem &rItem)
{
DBG_CHKTHIS(SfxItemPool, 0);
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 4811340af938..ea49c2b2dd06 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -46,27 +46,6 @@ DBG_NAME(SfxItemPool);
//========================================================================
-void SfxItemPool::SetStoringPool( const SfxItemPool *pStoringPool )
-
-/* [Beschreibung]
-
- Diese Methode setzt den <SfxItemPool>, der gerade gespeichert wird.
- Sie sollte nur in Notf"allen verwendet werden, um z.B. File-Format-
- Kompatibilit"at zu gew"ahrleisten o."o. - z.B. in der "uberladung eines
- <SfxPoolItem::Store()> zus"atzliche Daten aus dem dazuge"horigen
- Pool mit <SfxItemPool::GetStoringPool()> zu besorgen.
-
- Sie wird von <SfxItemPool::Store()> bedient, kann jedoch f"ur nicht
- poolable Items auch direkt gerufen werden. Bitte m"oglichst nicht
- f"ur jedes Item einzeln, da 2 Calls!
-*/
-
-{
- ImpSvlData::GetSvlData().pStoringPool = pStoringPool;
-}
-
-//-------------------------------------------------------------------------
-
const SfxItemPool* SfxItemPool::GetStoringPool()
/* [Beschreibung]
@@ -1477,39 +1456,6 @@ bool SfxItemPool::IsCurrentVersionLoading() const
// -----------------------------------------------------------------------
-sal_uInt16 SfxItemPool::GetVersion() const
-
-/* [Beschreibung]
-
- Diese Methode liefert die aktuelle Versionsnummer des SfxItemPool-Aufbaus
- (also des Which-Bereichs).
-
- Precondition: keine
- Postcondition: unver"andert
- Laufzeit: 2
-
-
- [Anmerkung]
-
- Achtung: Es mu\s ggf. die Versionsnummer von Sekund"arpools
- ber"ucksichtigt werden.
-
-
- [Querverweise]
-
- <SfxItemPool::IsLoadingVersionCurrent()const>
- <SfxItemPool::SetVersionMap(sal_uInt16,sal_uInt16,sal_uInt16,sal_uInt16*)>
- <SfxItemPool::GetNewWhich(sal_uInt16)const>
-*/
-
-{
- return pImp->nVersion;
-}
-
-// -----------------------------------------------------------------------
-
-//-------------------------------------------------------------------------
-
bool SfxItemPool::IsVer2_Impl() const
{
return pMaster->pImp->nMajorVer >= 2;