Kaydet (Commit) 13ce9735 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unnecessaryoverride (dtors) in extensions

Change-Id: Ia8250bc33c5d05861794619c5d240fdcb4002c13
üst ccda3f37
...@@ -144,17 +144,10 @@ public: ...@@ -144,17 +144,10 @@ public:
, pController(nullptr) , pController(nullptr)
{} {}
virtual ~BibFrameCtrl_Impl() override;
virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException, std::exception ) override; virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException, std::exception ) override;
virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
}; };
BibFrameCtrl_Impl::~BibFrameCtrl_Impl()
{
}
void BibFrameCtrl_Impl::frameAction(const FrameActionEvent& ) throw( uno::RuntimeException, std::exception ) void BibFrameCtrl_Impl::frameAction(const FrameActionEvent& ) throw( uno::RuntimeException, std::exception )
{ {
} }
......
...@@ -46,7 +46,6 @@ namespace logging ...@@ -46,7 +46,6 @@ namespace logging
virtual OUString SAL_CALL formatMultiColumn(const Sequence< OUString>& column_data) throw (RuntimeException, std::exception) override; virtual OUString SAL_CALL formatMultiColumn(const Sequence< OUString>& column_data) throw (RuntimeException, std::exception) override;
CsvFormatter(); CsvFormatter();
virtual ~CsvFormatter() override;
private: private:
// XCsvLogFormatter // XCsvLogFormatter
...@@ -137,9 +136,6 @@ namespace logging ...@@ -137,9 +136,6 @@ namespace logging
m_Columnnames({ "message" }) m_Columnnames({ "message" })
{ } { }
CsvFormatter::~CsvFormatter()
{ }
sal_Bool CsvFormatter::getLogEventNo() throw (RuntimeException, std::exception) sal_Bool CsvFormatter::getLogEventNo() throw (RuntimeException, std::exception)
{ {
return m_LogEventNo; return m_LogEventNo;
......
...@@ -43,7 +43,6 @@ namespace logging ...@@ -43,7 +43,6 @@ namespace logging
{ {
public: public:
PlainTextFormatter(); PlainTextFormatter();
virtual ~PlainTextFormatter() override;
private: private:
// XLogFormatter // XLogFormatter
...@@ -61,12 +60,6 @@ namespace logging ...@@ -61,12 +60,6 @@ namespace logging
{ {
} }
PlainTextFormatter::~PlainTextFormatter()
{
}
OUString SAL_CALL PlainTextFormatter::getHead( ) throw (RuntimeException, std::exception) OUString SAL_CALL PlainTextFormatter::getHead( ) throw (RuntimeException, std::exception)
{ {
OUStringBuffer aHeader; OUStringBuffer aHeader;
......
...@@ -233,8 +233,6 @@ public: ...@@ -233,8 +233,6 @@ public:
{ {
}; };
virtual ~UpdateInformationEnumeration() override {};
// XEnumeration // XEnumeration
sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return m_nCount < m_nNodes; }; 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 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 ...@@ -292,7 +290,6 @@ class SingleUpdateInformationEnumeration : public ::cppu::WeakImplHelper< contai
public: public:
explicit SingleUpdateInformationEnumeration(const uno::Reference< xml::dom::XElement >& xElement) explicit SingleUpdateInformationEnumeration(const uno::Reference< xml::dom::XElement >& xElement)
: m_nCount(0) { m_aEntry.UpdateDocument = xElement; }; : m_nCount(0) { m_aEntry.UpdateDocument = xElement; };
virtual ~SingleUpdateInformationEnumeration() override {};
// XEnumeration // XEnumeration
sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return 0 == m_nCount; }; sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return 0 == m_nCount; };
......
...@@ -103,7 +103,6 @@ private: ...@@ -103,7 +103,6 @@ private:
public: public:
BubbleWindow( vcl::Window* pParent, const OUString& rTitle, BubbleWindow( vcl::Window* pParent, const OUString& rTitle,
const OUString& rText, const Image& rImage ); const OUString& rText, const Image& rImage );
virtual ~BubbleWindow() override;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override;
...@@ -753,12 +752,6 @@ BubbleWindow::BubbleWindow( vcl::Window* pParent, const OUString& rTitle, ...@@ -753,12 +752,6 @@ BubbleWindow::BubbleWindow( vcl::Window* pParent, const OUString& rTitle,
SetBackground( Wallpaper( GetSettings().GetStyleSettings().GetHelpColor() ) ); SetBackground( Wallpaper( GetSettings().GetStyleSettings().GetHelpColor() ) );
} }
BubbleWindow::~BubbleWindow()
{
}
void BubbleWindow::Resize() void BubbleWindow::Resize()
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment