diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 09:34:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 09:36:47 +0100 |
commit | cb678082a93422c46d2978fc29e24f0aad4424c6 (patch) | |
tree | 1654b433a1d2d29a151bcd005e0475298e7d5261 | |
parent | c2359da8bb2b1cf78726b130cadfd86b490b8cfb (diff) |
callcatcher: remove unused methods
-rw-r--r-- | sot/inc/sot/storage.hxx | 1 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 10 | ||||
-rw-r--r-- | svl/inc/svl/cintitem.hxx | 2 | ||||
-rw-r--r-- | svl/inc/svl/flagitem.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/intitem.hxx | 3 | ||||
-rw-r--r-- | svl/inc/svl/ptitem.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/cintitem.cxx | 8 | ||||
-rw-r--r-- | svl/source/items/flagitem.cxx | 9 | ||||
-rw-r--r-- | svl/source/items/ptitem.cxx | 9 | ||||
-rw-r--r-- | unotools/inc/unotools/accelcfg.hxx | 1 | ||||
-rw-r--r-- | unotools/source/config/accelcfg.cxx | 25 |
11 files changed, 0 insertions, 70 deletions
diff --git a/sot/inc/sot/storage.hxx b/sot/inc/sot/storage.hxx index 6c4cbdfca6..18063402f0 100644 --- a/sot/inc/sot/storage.hxx +++ b/sot/inc/sot/storage.hxx @@ -231,7 +231,6 @@ public: virtual sal_Bool MoveTo( const String & rEleName, SotStorage * pDest, const String & rNewName ); - SvStream* GetTargetSvStream() const; sal_Bool SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ); sal_Bool GetProperty( const String& rName, ::com::sun::star::uno::Any& rValue ); sal_Bool GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue ); diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index b12af44776..6756552a16 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -1209,16 +1209,6 @@ const SvStream* SotStorage::GetSvStream() return pResult; } -SvStream* SotStorage::GetTargetSvStream() const -{ - SvStream* pResult = 0; - DBG_ASSERT( Owner(), "must be owner" ); - if( m_pOwnStg ) - pResult = (SvStream*)(m_pOwnStg->GetSvStream()); - return pResult; -} - - sal_Bool SotStorage::Validate() { DBG_ASSERT( m_bIsRoot, "Validate nur an Rootstorage" ); diff --git a/svl/inc/svl/cintitem.hxx b/svl/inc/svl/cintitem.hxx index 3e20735148..c87d73776e 100644 --- a/svl/inc/svl/cintitem.hxx +++ b/svl/inc/svl/cintitem.hxx @@ -46,8 +46,6 @@ public: CntByteItem(sal_uInt16 which = 0, sal_uInt8 nTheValue = 0): SfxPoolItem(which), m_nValue(nTheValue) { DBG_CTOR(CntByteItem, 0); } - CntByteItem(sal_uInt16 which, SvStream & rStream); - CntByteItem(const CntByteItem & rItem): SfxPoolItem(rItem), m_nValue(rItem.m_nValue) { DBG_CTOR(CntByteItem, 0); } diff --git a/svl/inc/svl/flagitem.hxx b/svl/inc/svl/flagitem.hxx index c44d5e9012..2512b52d34 100644 --- a/svl/inc/svl/flagitem.hxx +++ b/svl/inc/svl/flagitem.hxx @@ -49,7 +49,6 @@ public: TYPEINFO(); SfxFlagItem( sal_uInt16 nWhich = 0, sal_uInt16 nValue = 0 ); - SfxFlagItem( sal_uInt16 nWhich, SvStream & ); SfxFlagItem( const SfxFlagItem& ); ~SfxFlagItem() { diff --git a/svl/inc/svl/intitem.hxx b/svl/inc/svl/intitem.hxx index d5c0f07e92..3c87a1b5ee 100644 --- a/svl/inc/svl/intitem.hxx +++ b/svl/inc/svl/intitem.hxx @@ -41,9 +41,6 @@ public: SfxByteItem(sal_uInt16 which = 0, sal_uInt8 nValue = 0): CntByteItem(which, nValue) {} - SfxByteItem(sal_uInt16 which, SvStream & rStream): - CntByteItem(which, rStream) {} - virtual SfxPoolItem * Create(SvStream & rStream, sal_uInt16) const; virtual SfxPoolItem * Clone(SfxItemPool * = 0) const diff --git a/svl/inc/svl/ptitem.hxx b/svl/inc/svl/ptitem.hxx index ab8b918be0..c0d50f81eb 100644 --- a/svl/inc/svl/ptitem.hxx +++ b/svl/inc/svl/ptitem.hxx @@ -46,7 +46,6 @@ public: TYPEINFO(); SfxPointItem(); SfxPointItem( sal_uInt16 nWhich, const Point& rVal ); - SfxPointItem( sal_uInt16 nWhich, SvStream & ); SfxPointItem( const SfxPointItem& ); ~SfxPointItem() { DBG_DTOR(SfxPointItem, 0); } diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx index 5ba987e3be..a9d11a61ec 100644 --- a/svl/source/items/cintitem.cxx +++ b/svl/source/items/cintitem.cxx @@ -44,14 +44,6 @@ DBG_NAME(CntByteItem) TYPEINIT1_AUTOFACTORY(CntByteItem, SfxPoolItem); //============================================================================ -CntByteItem::CntByteItem(sal_uInt16 which, SvStream & rStream): - SfxPoolItem(which) -{ - DBG_CTOR(CntByteItem, 0); - rStream >> m_nValue; -} - -//============================================================================ // virtual int CntByteItem::operator ==(const SfxPoolItem & rItem) const { diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx index 2c1a6e7a13..218dab3716 100644 --- a/svl/source/items/flagitem.cxx +++ b/svl/source/items/flagitem.cxx @@ -61,15 +61,6 @@ SfxFlagItem::SfxFlagItem( sal_uInt16 nW, sal_uInt16 nV ) : // ----------------------------------------------------------------------- -SfxFlagItem::SfxFlagItem( sal_uInt16 nW, SvStream &rStream) : - SfxPoolItem( nW ) -{ - DBG_CTOR(SfxFlagItem, 0); - rStream >> nVal; -} - -// ----------------------------------------------------------------------- - SfxFlagItem::SfxFlagItem( const SfxFlagItem& rItem ) : SfxPoolItem( rItem ), nVal( rItem.nVal ) diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index bd163c628e..14db870de3 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -67,15 +67,6 @@ SfxPointItem::SfxPointItem( sal_uInt16 nW, const Point& rVal ) : // ----------------------------------------------------------------------- -SfxPointItem::SfxPointItem( sal_uInt16 nW, SvStream &rStream ) : - SfxPoolItem( nW ) -{ - DBG_CTOR(SfxPointItem, 0); - rStream >> aVal; -} - -// ----------------------------------------------------------------------- - SfxPointItem::SfxPointItem( const SfxPointItem& rItem ) : SfxPoolItem( rItem ), aVal( rItem.aVal ) diff --git a/unotools/inc/unotools/accelcfg.hxx b/unotools/inc/unotools/accelcfg.hxx index 6aa4953499..959619e72c 100644 --- a/unotools/inc/unotools/accelcfg.hxx +++ b/unotools/inc/unotools/accelcfg.hxx @@ -60,7 +60,6 @@ public: SvtAcceleratorConfiguration(); // get special accelerators - static SvtAcceleratorConfiguration* CreateFromStream( SvStream& rStream ); static String GetStreamName(); static SvStream* GetDefaultStream( StreamMode ); diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx index 9c55d37279..95257031ca 100644 --- a/unotools/source/config/accelcfg.cxx +++ b/unotools/source/config/accelcfg.cxx @@ -173,31 +173,6 @@ SvtAcceleratorConfiguration::SvtAcceleratorConfiguration() pImp = pOptions; } -SvtAcceleratorConfiguration* SvtAcceleratorConfiguration::CreateFromStream( SvStream& rStream ) -{ - SvtAcceleratorConfiguration* pRet = new SvtAcceleratorConfiguration; - ::utl::OInputStreamWrapper aHelper( rStream ); - com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > xOut( &aHelper ); - try - { - pRet->pImp = new SvtAcceleratorConfig_Impl( xOut ); - } - catch ( RuntimeException& ) - { - DELETEZ( pRet ); - } - catch( SAXException& ) - { - DELETEZ( pRet ); - } - catch( ::com::sun::star::io::IOException& ) - { - DELETEZ( pRet ); - } - - return pRet; -} - // ----------------------------------------------------------------------- SvtAcceleratorConfiguration::~SvtAcceleratorConfiguration() |