diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-18 16:57:21 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-19 06:42:34 +0000 |
commit | b73f45ef0bf3230275c11fc9c70c22625332b695 (patch) | |
tree | c7cf36e27467ffe32d13a0183f5e15c72586c168 /sd/inc | |
parent | 727d4dbebaf947593ce5caae6915238c8c4f3da2 (diff) |
loplugin:unusedmethods in sd
Change-Id: I27da3e7afd86217ec9f75958775da9c144d7a0a5
Reviewed-on: https://gerrit.libreoffice.org/25111
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/OutlinerIterator.hxx | 3 | ||||
-rw-r--r-- | sd/inc/cusshow.hxx | 3 | ||||
-rw-r--r-- | sd/inc/sdabstdlg.hxx | 1 | ||||
-rw-r--r-- | sd/inc/sdattr.hxx | 14 |
4 files changed, 2 insertions, 19 deletions
diff --git a/sd/inc/OutlinerIterator.hxx b/sd/inc/OutlinerIterator.hxx index f4392b056bdc..dc63adda0699 100644 --- a/sd/inc/OutlinerIterator.hxx +++ b/sd/inc/OutlinerIterator.hxx @@ -280,8 +280,7 @@ private: IteratorLocation aLocation); // Do not allow default constructor and copying of outliner containers. - OutlinerContainer (const OutlinerContainer&) {}; - OutlinerContainer() {}; + OutlinerContainer (const OutlinerContainer&) = delete; OutlinerContainer& operator= (const OutlinerContainer&) {return *this;}; }; diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx index 11d1e15da139..83de986db8c1 100644 --- a/sd/inc/cusshow.hxx +++ b/sd/inc/cusshow.hxx @@ -40,8 +40,7 @@ private: // this is a weak reference to a possible living api wrapper for this custom show css::uno::WeakReference< css::uno::XInterface > mxUnoCustomShow; - // forbidden and not implemented - SdCustomShow(); + SdCustomShow() = delete; public: // single argument ctors shall be explicit diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx index f673c286a846..702ba605d8a1 100644 --- a/sd/inc/sdabstdlg.hxx +++ b/sd/inc/sdabstdlg.hxx @@ -118,7 +118,6 @@ class AbstractSdInsertPasteDlg : public VclAbstractDialog class AbstractSdInsertPagesObjsDlg : public VclAbstractDialog { public: - virtual vcl::Window* GetWindow() = 0; //this method is added for return a vcl::Window type pointer virtual std::vector<OUString> GetList ( const sal_uInt16 nType ) = 0; virtual bool IsLink() = 0; virtual bool IsRemoveUnnessesaryMasterPages() const = 0; diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx index 603e322ea416..710a072e6b5d 100644 --- a/sd/inc/sdattr.hxx +++ b/sd/inc/sdattr.hxx @@ -35,8 +35,6 @@ class SdAttrLayerName : public SfxStringItem { public: - SdAttrLayerName() : - SfxStringItem( ATTR_LAYER_NAME, OUString("neue Ebene") ) {} SdAttrLayerName( const OUString& aStr ) : SfxStringItem( ATTR_LAYER_NAME, aStr ) {} }; @@ -86,7 +84,6 @@ public: class DiaEffectItem : public SfxEnumItem { public: - DiaEffectItem( css::presentation::FadeEffect eFade = css::presentation::FadeEffect_NONE ); DiaEffectItem( SvStream& rIn ); virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; @@ -97,7 +94,6 @@ public: class DiaSpeedItem : public SfxEnumItem { public: - DiaSpeedItem( FadeSpeed = FADE_SPEED_MEDIUM ); DiaSpeedItem( SvStream& rIn ); virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; @@ -108,7 +104,6 @@ public: class DiaAutoItem : public SfxEnumItem { public: - DiaAutoItem( PresChange = PRESCHANGE_MANUAL ); DiaAutoItem( SvStream& rIn ); virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; @@ -116,15 +111,6 @@ public: sal_uInt16 GetValueCount() const override { return PRESCHANGE_COUNT; } }; -class DiaTimeItem : public SfxUInt32Item -{ -public: - DiaTimeItem( sal_uInt32 nValue = 0L ); - - virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; - virtual bool operator==( const SfxPoolItem& ) const override; -}; - #endif // INCLUDED_SD_INC_SDATTR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |