diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 11:51:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 08:59:07 +0200 |
commit | 8de4e81b0ce0aed324e30ae55ba286715f8273f6 (patch) | |
tree | 913c28472c466523953f4e84f13dcf120479fff8 /extensions | |
parent | 24c7c12224f1c1d66f335f6fe085595352137646 (diff) |
loplugin:virtualdead in extensions
Change-Id: I953ceaccf6c7d0cfe1f98006a6ed00544399ef97
Reviewed-on: https://gerrit.libreoffice.org/79642
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
4 files changed, 1 insertions, 9 deletions
diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx index 2fc1f1e1018b..fcb4851d91bc 100644 --- a/extensions/source/bibliography/formcontrolcontainer.cxx +++ b/extensions/source/bibliography/formcontrolcontainer.cxx @@ -114,10 +114,6 @@ namespace bib implSetDesignMode( true ); } - void FormControlContainer::_unloaded( const css::lang::EventObject& /*_rEvent*/ ) - { - } - void FormControlContainer::_reloading( const css::lang::EventObject& /*_rEvent*/ ) { implSetDesignMode( true ); diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx index 78673eb0fd1d..fc119a7eb1fa 100644 --- a/extensions/source/bibliography/formcontrolcontainer.hxx +++ b/extensions/source/bibliography/formcontrolcontainer.hxx @@ -54,7 +54,6 @@ namespace bib // XLoadListener equivalents virtual void _loaded( const css::lang::EventObject& _rEvent ) override; virtual void _unloading( const css::lang::EventObject& _rEvent ) override; - virtual void _unloaded( const css::lang::EventObject& _rEvent ) override; virtual void _reloading( const css::lang::EventObject& _rEvent ) override; virtual void _reloaded( const css::lang::EventObject& _rEvent ) override; diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx index 32ae7fff3888..dd9a7774db0b 100644 --- a/extensions/source/bibliography/loadlisteneradapter.cxx +++ b/extensions/source/bibliography/loadlisteneradapter.cxx @@ -160,10 +160,8 @@ namespace bib } - void SAL_CALL OLoadListenerAdapter::unloaded( const EventObject& _rEvent ) + void SAL_CALL OLoadListenerAdapter::unloaded( const EventObject& ) { - if ( getLoadListener( ) ) - getLoadListener( )->_unloaded( _rEvent ); } diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx index e0cceb66c3d4..6cb578063bd3 100644 --- a/extensions/source/bibliography/loadlisteneradapter.hxx +++ b/extensions/source/bibliography/loadlisteneradapter.hxx @@ -108,7 +108,6 @@ namespace bib // XLoadListener equivalents virtual void _loaded( const css::lang::EventObject& aEvent ) = 0; virtual void _unloading( const css::lang::EventObject& aEvent ) = 0; - virtual void _unloaded( const css::lang::EventObject& aEvent ) = 0; virtual void _reloading( const css::lang::EventObject& aEvent ) = 0; virtual void _reloaded( const css::lang::EventObject& aEvent ) = 0; }; |