From 13ce97351d1751eb24cf0cd1ad35048329407f15 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 5 Dec 2016 09:04:10 +0100 Subject: loplugin:unnecessaryoverride (dtors) in extensions Change-Id: Ia8250bc33c5d05861794619c5d240fdcb4002c13 --- extensions/source/update/feed/updatefeed.cxx | 3 --- extensions/source/update/ui/updatecheckui.cxx | 7 ------- 2 files changed, 10 deletions(-) (limited to 'extensions/source/update') diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index d0e779be0c5f..0ab0e1cec738 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -233,8 +233,6 @@ public: { }; - virtual ~UpdateInformationEnumeration() override {}; - // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return m_nCount < m_nNodes; }; uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override @@ -292,7 +290,6 @@ class SingleUpdateInformationEnumeration : public ::cppu::WeakImplHelper< contai public: explicit SingleUpdateInformationEnumeration(const uno::Reference< xml::dom::XElement >& xElement) : m_nCount(0) { m_aEntry.UpdateDocument = xElement; }; - virtual ~SingleUpdateInformationEnumeration() override {}; // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return 0 == m_nCount; }; diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 23810da49033..ab3b54c592fc 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -103,7 +103,6 @@ private: public: BubbleWindow( vcl::Window* pParent, const OUString& rTitle, const OUString& rText, const Image& rImage ); - virtual ~BubbleWindow() override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; @@ -753,12 +752,6 @@ BubbleWindow::BubbleWindow( vcl::Window* pParent, const OUString& rTitle, SetBackground( Wallpaper( GetSettings().GetStyleSettings().GetHelpColor() ) ); } - -BubbleWindow::~BubbleWindow() -{ -} - - void BubbleWindow::Resize() { SolarMutexGuard aGuard; -- cgit