summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-15 22:19:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-15 22:25:31 +0100
commiteb71fecb9901563a488bef62301000e88c6e18c9 (patch)
tree3ec8ffb7df0ae5d7f4636993629cfa196b7ebd2e
parentfb94c7e9a514e48fce3d8a348db269b0ba56b3ec (diff)
callcatcher: unused methods
-rw-r--r--binfilter/bf_svtools/source/items1/svt_poolio.cxx54
-rw-r--r--binfilter/inc/bf_svtools/itempool.hxx3
2 files changed, 0 insertions, 57 deletions
diff --git a/binfilter/bf_svtools/source/items1/svt_poolio.cxx b/binfilter/bf_svtools/source/items1/svt_poolio.cxx
index 228d7e265..794ac617a 100644
--- a/binfilter/bf_svtools/source/items1/svt_poolio.cxx
+++ b/binfilter/bf_svtools/source/items1/svt_poolio.cxx
@@ -821,10 +821,6 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate
in diesem SfxItemPool
- 'rWhichId' enth"alt die ggf. gemappte Which-Id
Laufzeit: Tiefe des Ziel Sekund"arpools * 10 + 10
-
- [Querverweise]
-
- <SfxItemPool::StoreSurrogate(SvStream&,const SfxPoolItem &)const>
*/
{
@@ -907,48 +903,6 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate
return 0;
}
-//-------------------------------------------------------------------------
-
-
-bool SfxItemPool::StoreSurrogate
-(
- SvStream& rStream,
- const SfxPoolItem* pItem
-) const
-
-/* [Beschreibung]
-
- Speichert ein Surrogat f"ur '*pItem' in 'rStream'.
-
-
- [R"uckgabewert]
-
- bool TRUE
- es wurde ein echtes Surrogat gespeichert, auch
- SFX_ITEMS_NULL bei 'pItem==0',
- SFX_ITEMS_STATICDEFAULT und SFX_ITEMS_POOLDEFAULT
- gelten als 'echte' Surrogate
-
- FALSE
- es wurde ein Dummy-Surrogat (SFX_ITEMS_DIRECT)
- gespeichert, das eigentliche Item mu\s direkt
- hinterher selbst gespeichert werden
-*/
-
-{
- if ( pItem )
- {
- bool bRealSurrogate = IsItemFlag(*pItem, SFX_ITEM_POOLABLE);
- rStream << ( bRealSurrogate
- ? GetSurrogate( pItem )
- : (UINT16) SFX_ITEMS_DIRECT );
- return bRealSurrogate;
- }
-
- rStream << (UINT16) SFX_ITEMS_NULL;
- return TRUE;
-}
-
// -----------------------------------------------------------------------
USHORT SfxItemPool::GetSurrogate(const SfxPoolItem *pItem) const
@@ -984,14 +938,6 @@ USHORT SfxItemPool::GetSurrogate(const SfxPoolItem *pItem) const
// -----------------------------------------------------------------------
-bool SfxItemPool::IsInStoringRange( USHORT nWhich ) const
-{
- return nWhich >= pImp->nStoringStart &&
- nWhich <= pImp->nStoringEnd;
-}
-
-// -----------------------------------------------------------------------
-
void SfxItemPool::SetVersionMap
(
USHORT nVer, /* neue Versionsnummer */
diff --git a/binfilter/inc/bf_svtools/itempool.hxx b/binfilter/inc/bf_svtools/itempool.hxx
index 15d73b244..ce0df766d 100644
--- a/binfilter/inc/bf_svtools/itempool.hxx
+++ b/binfilter/inc/bf_svtools/itempool.hxx
@@ -195,8 +195,6 @@ public:
const SfxPoolItem* LoadSurrogate(SvStream& rStream,
USHORT &rWhich, USHORT nSlotId,
const SfxItemPool* pRefPool = 0 );
- bool StoreSurrogate(SvStream& rStream,
- const SfxPoolItem *pItem ) const;
virtual SvStream & Load(SvStream &);
virtual SvStream & Store(SvStream &rStream) const { return rStream; }
@@ -210,7 +208,6 @@ public:
return nWhich >= nStart &&
nWhich <= nEnd; }
bool IsInVersionsRange( USHORT nWhich ) const;
- bool IsInStoringRange( USHORT nWhich ) const;
void SetSecondaryPool( SfxItemPool *pPool );
SfxItemPool* GetSecondaryPool() const {
return pSecondary; }