diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-05 18:47:50 +0800 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-05 21:40:30 +0400 |
commit | 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c (patch) | |
tree | fcfff781b70e6423b5b5c32831eae1ca251be6b7 /svl | |
parent | Remove unused floppy-handling code (diff) | |
download | core-9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.tar.gz core-9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.zip |
Remove unused code
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/dateitem.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/isethint.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/itemprop.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/lckbitem.hxx | 2 | ||||
-rw-r--r-- | svl/inc/svl/lstner.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/style.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/dateitem.cxx | 9 | ||||
-rw-r--r-- | svl/source/items/itemprop.cxx | 6 | ||||
-rw-r--r-- | svl/source/items/lckbitem.cxx | 8 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 4 | ||||
-rw-r--r-- | svl/source/notify/isethint.cxx | 14 | ||||
-rw-r--r-- | svl/source/notify/lstner.cxx | 13 |
12 files changed, 0 insertions, 61 deletions
diff --git a/svl/inc/svl/dateitem.hxx b/svl/inc/svl/dateitem.hxx index 54f9a450f94c..51155a2d8255 100644 --- a/svl/inc/svl/dateitem.hxx +++ b/svl/inc/svl/dateitem.hxx @@ -47,7 +47,6 @@ private: public: TYPEINFO(); - SfxDateTimeItem( sal_uInt16 nWhich ); SfxDateTimeItem( sal_uInt16 nWhich, const DateTime& rDT ); SfxDateTimeItem( const SfxDateTimeItem& rCpy ); diff --git a/svl/inc/svl/isethint.hxx b/svl/inc/svl/isethint.hxx index d03cd6942960..5cae95459640 100644 --- a/svl/inc/svl/isethint.hxx +++ b/svl/inc/svl/isethint.hxx @@ -43,7 +43,6 @@ class SVL_DLLPUBLIC SfxItemSetHint: public SfxHint public: TYPEINFO(); - SfxItemSetHint( SfxItemSet *pItemSet ); SfxItemSetHint( const SfxItemSet &rItemSet ); virtual ~SfxItemSetHint(); diff --git a/svl/inc/svl/itemprop.hxx b/svl/inc/svl/itemprop.hxx index 09dfadc34eb9..f56a5d20d763 100644 --- a/svl/inc/svl/itemprop.hxx +++ b/svl/inc/svl/itemprop.hxx @@ -183,7 +183,6 @@ public: hasPropertyByName( const ::rtl::OUString& Name ) throw(::com::sun::star::uno::RuntimeException); - const SfxItemPropertyMap* getMap() const; }; class SVL_DLLPUBLIC SfxExtItemPropertySetInfo: public cppu::WeakImplHelper1<com::sun::star::beans::XPropertySetInfo > diff --git a/svl/inc/svl/lckbitem.hxx b/svl/inc/svl/lckbitem.hxx index 3b41c834010f..9c40771cd3f7 100644 --- a/svl/inc/svl/lckbitem.hxx +++ b/svl/inc/svl/lckbitem.hxx @@ -43,8 +43,6 @@ class SVL_DLLPUBLIC SfxLockBytesItem : public SfxPoolItem public: TYPEINFO(); SfxLockBytesItem(); - SfxLockBytesItem( sal_uInt16 nWhich, - SvLockBytes *pLockBytes ); SfxLockBytesItem( sal_uInt16 nWhich, SvStream & ); SfxLockBytesItem( const SfxLockBytesItem& ); ~SfxLockBytesItem(); diff --git a/svl/inc/svl/lstner.hxx b/svl/inc/svl/lstner.hxx index c87d88ac890c..a2b590939804 100644 --- a/svl/inc/svl/lstner.hxx +++ b/svl/inc/svl/lstner.hxx @@ -60,7 +60,6 @@ public: sal_Bool StartListening( SfxBroadcaster& rBroadcaster, sal_Bool bPreventDups = sal_False ); sal_Bool EndListening( SfxBroadcaster& rBroadcaster, sal_Bool bAllDups = sal_False ); - void EndListening( sal_uInt16 nNo ); void EndListeningAll(); sal_Bool IsListening( SfxBroadcaster& rBroadcaster ) const; diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index 7edecd70883d..ceb8050f31c8 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -285,7 +285,6 @@ public: virtual sal_Bool SetParent( const UniString& ); protected: - SfxStyleSheet(); // do not use! virtual ~SfxStyleSheet(); }; diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx index e5329958f127..6acecbdbdcc7 100644 --- a/svl/source/items/dateitem.cxx +++ b/svl/source/items/dateitem.cxx @@ -54,15 +54,6 @@ TYPEINIT1(SfxDateTimeItem, SfxPoolItem); // ----------------------------------------------------------------------- -SfxDateTimeItem::SfxDateTimeItem( sal_uInt16 which ) : - SfxPoolItem( which ), - aDateTime( DateTime::SYSTEM ) -{ - DBG_CTOR(SfxDateTimeItem, 0); -} - -// ----------------------------------------------------------------------- - SfxDateTimeItem::SfxDateTimeItem( sal_uInt16 which, const DateTime& rDT ) : SfxPoolItem( which ), aDateTime( rDT ) diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index ec6629ba510e..662be6f35fcd 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -373,12 +373,6 @@ Sequence< Property > SAL_CALL return m_pImpl->m_pOwnMap->getProperties(); } -const SfxItemPropertyMap* SfxItemPropertySetInfo::getMap() const -{ - return m_pImpl->m_pOwnMap; -} - - SfxItemPropertySetInfo::~SfxItemPropertySetInfo() { delete m_pImpl->m_pOwnMap; diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx index c66724b83a9e..6936c654fead 100644 --- a/svl/source/items/lckbitem.cxx +++ b/svl/source/items/lckbitem.cxx @@ -49,14 +49,6 @@ SfxLockBytesItem::SfxLockBytesItem() // ----------------------------------------------------------------------- -SfxLockBytesItem::SfxLockBytesItem( sal_uInt16 nW, SvLockBytes *pLockBytes ) -: SfxPoolItem( nW ), - _xVal( pLockBytes ) -{ -} - -// ----------------------------------------------------------------------- - SfxLockBytesItem::SfxLockBytesItem( sal_uInt16 nW, SvStream &rStream ) : SfxPoolItem( nW ) { diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index c49d9ad2ef9f..c3e11e16d3d8 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -884,10 +884,6 @@ SfxStyleSheet::SfxStyleSheet(const SfxStyleSheet& rStyle) : SfxBroadcaster( rStyle ) {} -SfxStyleSheet::SfxStyleSheet() -{ -} - SfxStyleSheet::~SfxStyleSheet() { Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_INDESTRUCTION, *this ) ); diff --git a/svl/source/notify/isethint.cxx b/svl/source/notify/isethint.cxx index af16df6e6f0e..e7d851910595 100644 --- a/svl/source/notify/isethint.cxx +++ b/svl/source/notify/isethint.cxx @@ -36,20 +36,6 @@ TYPEINIT1(SfxItemSetHint, SfxHint); //==================================================================== -SfxItemSetHint::SfxItemSetHint( SfxItemSet *pItemSet ) - -/* [Beschreibung] - - Dieser Ctor "ubernimmt das als Parameter "ubergeben <SfxItemSet>, - das im Dtor gel"oscht wird. -*/ - -: _pItemSet( pItemSet ) -{ -} - -//-------------------------------------------------------------------- - SfxItemSetHint::SfxItemSetHint( const SfxItemSet &rItemSet ) /* [Beschreibung] diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx index a5eb2d0b61ad..8973273b0c69 100644 --- a/svl/source/notify/lstner.cxx +++ b/svl/source/notify/lstner.cxx @@ -133,19 +133,6 @@ sal_Bool SfxListener::EndListening( SfxBroadcaster& rBroadcaster, sal_Bool bAllD //-------------------------------------------------------------------- -// unregisteres at a specific SfxBroadcaster by index - -void SfxListener::EndListening( sal_uInt16 nNo ) -{ - DBG_CHKTHIS(SfxListener, 0); - - SfxBroadcaster *pBC = aBCs.GetObject(nNo); - pBC->RemoveListener(*this); - aBCs.Remove( nNo, 1 ); -} - -//-------------------------------------------------------------------- - // unregisteres all Broadcasters void SfxListener::EndListeningAll() |