[Libreoffice-commits] core.git: compilerplugins/clang extensions/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 28 06:59:51 UTC 2019


 compilerplugins/clang/virtualdead.results               |    3 ---
 extensions/source/bibliography/formcontrolcontainer.cxx |    4 ----
 extensions/source/bibliography/formcontrolcontainer.hxx |    1 -
 extensions/source/bibliography/loadlisteneradapter.cxx  |    4 +---
 extensions/source/bibliography/loadlisteneradapter.hxx  |    1 -
 5 files changed, 1 insertion(+), 12 deletions(-)

New commits:
commit 8de4e81b0ce0aed324e30ae55ba286715f8273f6
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Sep 26 11:51:20 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Sep 28 08:59:07 2019 +0200

    loplugin:virtualdead in extensions
    
    Change-Id: I953ceaccf6c7d0cfe1f98006a6ed00544399ef97
    Reviewed-on: https://gerrit.libreoffice.org/79642
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/virtualdead.results b/compilerplugins/clang/virtualdead.results
index 7972fabdabd2..37118ffe3d6f 100644
--- a/compilerplugins/clang/virtualdead.results
+++ b/compilerplugins/clang/virtualdead.results
@@ -22,9 +22,6 @@ dbaccess/source/ui/inc/IUpdateHelper.hxx:38
 desktop/source/deployment/registry/inc/dp_backenddb.hxx:119
     class rtl::OUString dp_registry::backend::BackendDb::getDbNSName()
     "http://openoffi
-extensions/source/bibliography/loadlisteneradapter.hxx:111
-    void bib::OLoadListener::_unloaded(const struct com::sun::star::lang::EventObject &,)
-    empty
 Gui/qaccessible.h:465
     class QObject * QAccessibleInterface::object()const
     0
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;
     };


More information about the Libreoffice-commits mailing list