loplugin:unnecessaryoverride in connectivity/cui
Change-Id: I5ec4eb2f74036e42851333e3d669dbea58c2490a
Reviewed-on: https://gerrit.libreoffice.org/29687
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@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 );