From 6e72f0251bb8767942edf74f612547c12ca0cdf1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Jul 2016 08:21:27 +0200 Subject: new loplugin unnecessary override Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb Reviewed-on: https://gerrit.libreoffice.org/27135 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- accessibility/inc/standard/vclxaccessiblebox.hxx | 7 ------- accessibility/inc/standard/vclxaccessiblecombobox.hxx | 1 - accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx | 1 - accessibility/inc/standard/vclxaccessiblelistbox.hxx | 1 - accessibility/inc/standard/vclxaccessiblelistitem.hxx | 2 -- accessibility/source/standard/vclxaccessiblebox.cxx | 7 ------- accessibility/source/standard/vclxaccessiblecombobox.cxx | 6 ------ .../source/standard/vclxaccessibledropdownlistbox.cxx | 5 ----- accessibility/source/standard/vclxaccessiblelistbox.cxx | 5 ----- accessibility/source/standard/vclxaccessiblelistitem.cxx | 10 ---------- 10 files changed, 45 deletions(-) (limited to 'accessibility') diff --git a/accessibility/inc/standard/vclxaccessiblebox.hxx b/accessibility/inc/standard/vclxaccessiblebox.hxx index 1943f1e2ce21..8936202b94fe 100644 --- a/accessibility/inc/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/standard/vclxaccessiblebox.hxx @@ -112,13 +112,6 @@ public: throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override; - // XComponent - - /** This method is called from the implementation helper during an - XComponent::dispose() call. - */ - virtual void SAL_CALL disposing() override; - // XAccessibleValue virtual css::uno::Any SAL_CALL getCurrentValue( ) diff --git a/accessibility/inc/standard/vclxaccessiblecombobox.hxx b/accessibility/inc/standard/vclxaccessiblecombobox.hxx index 4fd6bf829055..0aaf6e67df5a 100644 --- a/accessibility/inc/standard/vclxaccessiblecombobox.hxx +++ b/accessibility/inc/standard/vclxaccessiblecombobox.hxx @@ -49,7 +49,6 @@ protected: virtual ~VCLXAccessibleComboBox(); virtual bool IsValid() const override; - virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; }; #endif // INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLECOMBOBOX_HXX diff --git a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx index f18945d3bdc3..1d5a311244e7 100644 --- a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx +++ b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx @@ -47,7 +47,6 @@ protected: virtual ~VCLXAccessibleDropDownListBox(); virtual bool IsValid() const override; - virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; }; diff --git a/accessibility/inc/standard/vclxaccessiblelistbox.hxx b/accessibility/inc/standard/vclxaccessiblelistbox.hxx index 22d24eec687f..caf3dbbcf57b 100644 --- a/accessibility/inc/standard/vclxaccessiblelistbox.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistbox.hxx @@ -48,7 +48,6 @@ protected: virtual ~VCLXAccessibleListBox(); virtual bool IsValid() const override; - virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; }; #endif // INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLELISTBOX_HXX diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx index 3d21be9f2e4a..1fa807490752 100644 --- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx @@ -106,8 +106,6 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL acquire( ) throw() override; - virtual void SAL_CALL release( ) throw() override; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx index bee3e6d5ccad..ddc12ec2e4ca 100644 --- a/accessibility/source/standard/vclxaccessiblebox.cxx +++ b/accessibility/source/standard/vclxaccessiblebox.cxx @@ -449,13 +449,6 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBind return xRet; } -//===== XComponent ========================================================== - -void SAL_CALL VCLXAccessibleBox::disposing() -{ - VCLXAccessibleComponent::disposing(); -} - // ===== XAccessibleValue =============================================== Any VCLXAccessibleBox::getCurrentValue( ) throw( RuntimeException, std::exception ) diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx index 3ff31db6c0c6..1e4288e6815e 100644 --- a/accessibility/source/standard/vclxaccessiblecombobox.cxx +++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx @@ -46,12 +46,6 @@ bool VCLXAccessibleComboBox::IsValid() const return GetWindow().get() != nullptr; } -void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) -{ - VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent ); -} - - // XServiceInfo OUString VCLXAccessibleComboBox::getImplementationName() diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx index 8e54c51f11d6..67358b1b14eb 100644 --- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx @@ -59,11 +59,6 @@ bool VCLXAccessibleDropDownListBox::IsValid() const return GetWindow().get() != nullptr; } -void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) -{ - VCLXAccessibleBox::ProcessWindowEvent (rVclWindowEvent); -} - // XServiceInfo diff --git a/accessibility/source/standard/vclxaccessiblelistbox.cxx b/accessibility/source/standard/vclxaccessiblelistbox.cxx index 5c9c34e1a1c3..446b140ab981 100644 --- a/accessibility/source/standard/vclxaccessiblelistbox.cxx +++ b/accessibility/source/standard/vclxaccessiblelistbox.cxx @@ -57,11 +57,6 @@ bool VCLXAccessibleListBox::IsValid() const return GetWindow().get() != nullptr; } -void VCLXAccessibleListBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) -{ - VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent ); -} - // XServiceInfo OUString VCLXAccessibleListBox::getImplementationName() diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index c950953babe1..1cc7b37dbcd4 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -151,16 +151,6 @@ Any SAL_CALL VCLXAccessibleListItem::queryInterface( Type const & rType ) throw return VCLXAccessibleListItem_BASE::queryInterface( rType ); } -void SAL_CALL VCLXAccessibleListItem::acquire() throw () -{ - VCLXAccessibleListItem_BASE::acquire(); -} - -void SAL_CALL VCLXAccessibleListItem::release() throw () -{ - VCLXAccessibleListItem_BASE::release(); -} - // XTypeProvider Sequence< Type > SAL_CALL VCLXAccessibleListItem::getTypes( ) throw (RuntimeException, std::exception) -- cgit