[Libreoffice-commits] core.git: connectivity/source cui/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Oct 12 06:34:49 UTC 2016


 connectivity/source/drivers/postgresql/pq_xtable.cxx |    7 -------
 connectivity/source/drivers/postgresql/pq_xtable.hxx |    4 ----
 cui/source/customize/acccfg.cxx                      |    9 ---------
 cui/source/dialogs/hltpbase.cxx                      |    5 -----
 cui/source/inc/acccfg.hxx                            |    4 ----
 cui/source/inc/hltpbase.hxx                          |    2 --
 6 files changed, 31 deletions(-)

New commits:
commit a9717054dcb59010c95bdbfdb440ac12e8703796
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Tue Oct 11 10:47:01 2016 +0200

    loplugin:unnecessaryoverride in connectivity/cui
    
    Change-Id: I5ec4eb2f74036e42851333e3d669dbea58c2490a
    Reviewed-on: https://gerrit.libreoffice.org/29687
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx
index 4b8d451..ddc96f6 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx
@@ -311,13 +311,6 @@ Any Table::queryInterface( const Type & reqType ) throw (RuntimeException, std::
     return ret;
 }
 
-css::uno::Any Table::getPropertyValue(const OUString& aPropertyName)
-        throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
-{
-    return ReflectionBase::getPropertyValue( aPropertyName );
-}
-
-
 OUString Table::getName(  ) throw (css::uno::RuntimeException, std::exception)
 {
     Statics & st = getStatics();
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.hxx b/connectivity/source/drivers/postgresql/pq_xtable.hxx
index 3ff598c..759ddda 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.hxx
@@ -123,10 +123,6 @@ public:
                css::lang::IndexOutOfBoundsException,
                css::uno::RuntimeException, std::exception) override;
 
-    // TODO: remove again
-    virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& aPropertyName)
-        throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
-
     // XNamed
     virtual OUString SAL_CALL getName(  ) throw (css::uno::RuntimeException, std::exception) override;
     virtual void SAL_CALL setName( const OUString& aName ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index c3f14d1..ae7d1cc 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -675,15 +675,6 @@ VCL_BUILDER_DECL_FACTORY(SfxAccCfgTabListBox)
     rRet = VclPtr<SfxAccCfgTabListBox_Impl>::Create(pParent, nWinBits);
 }
 
-void SfxAccCfgTabListBox_Impl::InitEntry(SvTreeListEntry* pEntry,
-                                         const OUString& rText,
-                                         const Image& rImage1,
-                                         const Image& rImage2,
-                                         SvLBoxButtonKind eButtonKind)
-{
-    SvTabListBox::InitEntry(pEntry, rText, rImage1, rImage2, eButtonKind);
-}
-
 SfxAccCfgTabListBox_Impl::~SfxAccCfgTabListBox_Impl()
 {
     disposeOnce();
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 226e7a6..bb63d88 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -97,11 +97,6 @@ sal_Int8 SvxHyperURLBox::ExecuteDrop( const ExecuteDropEvent& rEvt )
     return nRet;
 }
 
-void SvxHyperURLBox::Modify()
-{
-    SvtURLBox::Modify();
-}
-
 //# Hyperlink-Dialog: Tabpages-Baseclass                                 #
 
 SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase ( vcl::Window *pParent,
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 24b92c90..d59cdc0 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -57,10 +57,6 @@ class SfxAccCfgTabListBox_Impl : public SvTabListBox
 
     void                        KeyInput( const KeyEvent &rKEvt ) override;
 
-protected:
-    virtual void                InitEntry(SvTreeListEntry*, const OUString&, const Image&,
-                                          const Image&, SvLBoxButtonKind eButtonKind) override;
-
 public:
     SfxAccCfgTabListBox_Impl(vcl::Window *pParent, WinBits nStyle)
         : SvTabListBox(pParent, nStyle)
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index 4f24e11..642d281 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -53,8 +53,6 @@ protected:
     virtual sal_Int8    AcceptDrop( const AcceptDropEvent& rEvt ) override;
     virtual sal_Int8    ExecuteDrop( const ExecuteDropEvent& rEvt ) override;
 
-    virtual void        Modify() override;
-
 public:
     SvxHyperURLBox( vcl::Window* pParent, INetProtocol eSmart = INetProtocol::File );
 


More information about the Libreoffice-commits mailing list