diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-28 14:15:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-28 14:15:30 +0100 |
commit | 79799b9b32dedd0ae13c2eba5b04588e7a2ecbdc (patch) | |
tree | 725f6c43a94dc198637ff6c85d2df1fd64b137a3 /cui | |
parent | 7a10def6327300f15cec2111508f77fec8b446f5 (diff) |
loplugin:unnecessaryoverride (dtors) in cui
Change-Id: Ibb78c2a16defbd523a079b651a27e9639d26953f
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/acccfg.cxx | 5 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 8 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 5 | ||||
-rw-r--r-- | cui/source/tabpages/borderconn.cxx | 2 |
5 files changed, 0 insertions, 22 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 6d36d9c2dc1d..b0d27edc18a3 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -631,8 +631,6 @@ class SfxAccCfgLBoxString_Impl : public SvLBoxString public: explicit SfxAccCfgLBoxString_Impl(const OUString& sText); - virtual ~SfxAccCfgLBoxString_Impl() override; - virtual void Paint(const Point& aPos, SvTreeListBox& rDevice, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; }; @@ -642,9 +640,6 @@ SfxAccCfgLBoxString_Impl::SfxAccCfgLBoxString_Impl(const OUString& sText) : SvLBoxString(sText) {} -SfxAccCfgLBoxString_Impl::~SfxAccCfgLBoxString_Impl() -{} - void SfxAccCfgLBoxString_Impl::Paint(const Point& aPos, SvTreeListBox& /*rDevice*/, vcl::RenderContext& rRenderContext, const SvViewDataEntry* /*pView*/, const SvTreeListEntry& rEntry) { diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index cf734f776336..27b6ea10a12e 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1539,8 +1539,6 @@ public: { } - virtual ~PopupPainter() override { } - virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override { diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 0abdd39e0c83..daf08b2250b8 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -118,8 +118,6 @@ public: m_nOffset(0) {} - virtual ~SpellUndoAction_Impl() override; - virtual void Undo() override; virtual sal_uInt16 GetId() const override; @@ -153,12 +151,6 @@ public: }//namespace svx using namespace ::svx; - -SpellUndoAction_Impl::~SpellUndoAction_Impl() -{ -} - - void SpellUndoAction_Impl::Undo() { m_rActionLink.Call(*this); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 2f59464e493e..964f43b3018b 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -252,7 +252,6 @@ private: public: MailMergeCfg_Impl(); - virtual ~MailMergeCfg_Impl() override; virtual void Notify( const css::uno::Sequence< OUString >& _rPropertyNames) override; @@ -271,10 +270,6 @@ MailMergeCfg_Impl::MailMergeCfg_Impl() : pValues[0] >>= bIsEmailSupported; } -MailMergeCfg_Impl::~MailMergeCfg_Impl() -{ -} -/* -------------------------------------------------------------------------*/ void MailMergeCfg_Impl::ImplCommit() { } diff --git a/cui/source/tabpages/borderconn.cxx b/cui/source/tabpages/borderconn.cxx index 70243d055a47..236172401333 100644 --- a/cui/source/tabpages/borderconn.cxx +++ b/cui/source/tabpages/borderconn.cxx @@ -43,8 +43,6 @@ class LineItemWrapper : public sfx::SingleItemWrapper< SvxLineItem, const editen public: inline explicit LineItemWrapper( sal_uInt16 nSlot ) : SingleItemWrapperType( nSlot ) {} - virtual ~LineItemWrapper() override {} - virtual const editeng::SvxBorderLine* GetItemValue( const SvxLineItem& rItem ) const override { return rItem.GetLine(); } virtual void SetItemValue( SvxLineItem& rItem, const editeng::SvxBorderLine* pLine ) const override |