diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:19:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:26:05 +0000 |
commit | 2608523b69fd6f1d888a74674a6ec795b4ad3aad (patch) | |
tree | ce6b6853e447594d03a0b458903defe0a6562771 /sfx2 | |
parent | cb55ffa649e73eb12e8edf79950a2494ac5e94b1 (diff) |
loplugin: unnecessary destructor sfx2..store
Change-Id: Idbf2585e48cd89a43ab68c5c8819880d20461ccf
Reviewed-on: https://gerrit.libreoffice.org/33514
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/linksrc.cxx | 11 | ||||
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/securitypage.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/docundomanager.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/templatesearchviewitem.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/view/impframe.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/impviewframe.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/printer.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/viewprn.cxx | 1 |
11 files changed, 0 insertions, 38 deletions
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index e7c5a38f97e9..a12f86c04f8e 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -81,14 +81,8 @@ struct SvLinkSource_Entry_Impl explicit SvLinkSource_Entry_Impl( SvBaseLink* pLink ) : xSink( pLink ), nAdviseModes( 0 ), bIsDataSink( false ) {} - - ~SvLinkSource_Entry_Impl(); }; -SvLinkSource_Entry_Impl::~SvLinkSource_Entry_Impl() -{ -} - class SvLinkSource_Array_Impl { private: @@ -195,13 +189,8 @@ struct SvLinkSource_Impl , m_bIsReadOnly(false) { } - ~SvLinkSource_Impl(); }; -SvLinkSource_Impl::~SvLinkSource_Impl() -{ -} - SvLinkSource::SvLinkSource() : pImpl( new SvLinkSource_Impl ) { diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index 44f7e5e28472..ffb5b1d61b5b 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -56,9 +56,6 @@ struct BaseLink_Impl , m_pFileDlg( nullptr ) , m_bIsConnect( false ) {} - - ~BaseLink_Impl() - {} }; // only for internal management diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 3fb5991c90a4..82dc215b778b 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -741,7 +741,6 @@ struct ImplDelayedDispatch aArgs( i_rArgs ) { } - ~ImplDelayedDispatch() {} }; static void implDispatchDelayed( void*, void* pArg ) diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx index 293f33f6d13a..04a138abed00 100644 --- a/sfx2/source/dialog/securitypage.cxx +++ b/sfx2/source/dialog/securitypage.cxx @@ -151,7 +151,6 @@ struct SfxSecurityPage_Impl DECL_LINK( ChangeProtectionPBHdl, Button*, void ); SfxSecurityPage_Impl( SfxSecurityPage &rDlg, const SfxItemSet &rItemSet ); - ~SfxSecurityPage_Impl(); bool FillItemSet_Impl( SfxItemSet & ); void Reset_Impl( const SfxItemSet & ); @@ -181,11 +180,6 @@ SfxSecurityPage_Impl::SfxSecurityPage_Impl( SfxSecurityPage &rTabPage, const Sfx } -SfxSecurityPage_Impl::~SfxSecurityPage_Impl() -{ -} - - bool SfxSecurityPage_Impl::FillItemSet_Impl( SfxItemSet & ) { bool bModified = false; diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 19b898572ae2..d0a50f048d68 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -124,9 +124,6 @@ struct TabDlg_Impl { aData.reserve( nCnt ); } - ~TabDlg_Impl() - { - } }; diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx index b675ca2ddf1f..12ea42cdb316 100644 --- a/sfx2/source/inc/docundomanager.hxx +++ b/sfx2/source/inc/docundomanager.hxx @@ -82,9 +82,6 @@ public: { i_rSubComponent.MethodEntryCheck(); } - ~SfxModelGuard() - { - } void clear() { diff --git a/sfx2/source/inc/templatesearchviewitem.hxx b/sfx2/source/inc/templatesearchviewitem.hxx index fe5a511bbf1d..6e1b7d39cc93 100644 --- a/sfx2/source/inc/templatesearchviewitem.hxx +++ b/sfx2/source/inc/templatesearchviewitem.hxx @@ -19,9 +19,6 @@ struct TemplateSearchViewItem : public TemplateViewItem , mnAssocId(0) {} - virtual ~TemplateSearchViewItem () override - {} - sal_uInt16 mnAssocId; //Associated item id to the TemplateViews }; diff --git a/sfx2/source/view/impframe.hxx b/sfx2/source/view/impframe.hxx index 9939d8b9ec9f..439015371e49 100644 --- a/sfx2/source/view/impframe.hxx +++ b/sfx2/source/view/impframe.hxx @@ -71,8 +71,6 @@ public: ,bMenuBarOn( true ) { } - - virtual ~SfxFrame_Impl() override { } }; #endif diff --git a/sfx2/source/view/impviewframe.hxx b/sfx2/source/view/impviewframe.hxx index 20ef4cfe521b..5238f2a4f50e 100644 --- a/sfx2/source/view/impviewframe.hxx +++ b/sfx2/source/view/impviewframe.hxx @@ -66,10 +66,6 @@ struct SfxViewFrame_Impl , bActive(false) { } - - ~SfxViewFrame_Impl() - { - } }; class SfxFrameViewWindow_Impl : public vcl::Window diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index 1ff1d910869c..941aaa8cd131 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -47,7 +47,6 @@ struct SfxPrinter_Impl mbSelection ( true ), mbFromTo ( true ), mbRange ( true ) {} - ~SfxPrinter_Impl() {} }; struct SfxPrintOptDlg_Impl diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index b73e1c4150ee..16316ad7f517 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -411,7 +411,6 @@ private: public: SfxDialogExecutor_Impl( SfxViewShell* pViewSh, PrinterSetupDialog* pParent ); - ~SfxDialogExecutor_Impl() {} Link<Button*, void> GetLink() const { return LINK(const_cast<SfxDialogExecutor_Impl*>(this), SfxDialogExecutor_Impl, Execute); } const SfxItemSet* GetOptions() const { return _pOptions.get(); } |