diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 08:21:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-15 14:05:41 +0000 |
commit | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch) | |
tree | 0785de1a2f8995d1d4ede7889541bda9b59f893f /connectivity | |
parent | sc: remove FUNC* and OOX_XLS_IS_LIBNAME macros (diff) | |
download | core-6e72f0251bb8767942edf74f612547c12ca0cdf1.tar.gz core-6e72f0251bb8767942edf74f612547c12ca0cdf1.zip |
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/TTableHelper.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/drivers/dbase/DIndex.cxx | 11 | ||||
-rw-r--r-- | connectivity/source/drivers/file/FTable.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Statement.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Statement.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xtables.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xtables.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xviews.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xviews.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndex.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/file/FTable.hxx | 2 |
11 files changed, 2 insertions, 60 deletions
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 6359f904b28b..28e7b1e2ae74 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -567,16 +567,6 @@ OUString SAL_CALL OTableHelper::getName() throw(RuntimeException, std::exception return sComposedName; } -void SAL_CALL OTableHelper::acquire() throw() -{ - OTable_TYPEDEF::acquire(); -} - -void SAL_CALL OTableHelper::release() throw() -{ - OTable_TYPEDEF::release(); -} - std::shared_ptr<sdbcx::KeyProperties> OTableHelper::getKeyProperties(const OUString& _sName) const { std::shared_ptr<sdbcx::KeyProperties> pKeyProps; diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index cb8d8a0831f5..f384a89b1da7 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -632,15 +632,4 @@ bool ODbaseIndex::CreateImpl() } -void SAL_CALL ODbaseIndex::acquire() throw() -{ - ODbaseIndex_BASE::acquire(); -} - -void SAL_CALL ODbaseIndex::release() throw() -{ - ODbaseIndex_BASE::release(); -} - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/file/FTable.cxx b/connectivity/source/drivers/file/FTable.cxx index 2720c1fdf2a8..88ffe4fe7e84 100644 --- a/connectivity/source/drivers/file/FTable.cxx +++ b/connectivity/source/drivers/file/FTable.cxx @@ -165,16 +165,6 @@ void OFileTable::FileClose() } } -void SAL_CALL OFileTable::acquire() throw() -{ - OTable_TYPEDEF::acquire(); -} - -void SAL_CALL OFileTable::release() throw() -{ - OTable_TYPEDEF::release(); -} - bool OFileTable::InsertRow(OValueRefVector& /*rRow*/, const css::uno::Reference< css::container::XIndexAccess>& /*_xCols*/) { return false; diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index 4144ab3bc039..29c195cd67b4 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -182,11 +182,6 @@ uno::Sequence< Type > SAL_CALL OStatement::getTypes() OStatementCommonBase::getTypes()); } -void SAL_CALL OStatement::close() throw(SQLException, RuntimeException, std::exception) -{ - OStatementCommonBase::close(); -} - void SAL_CALL OStatement::disposing() { disposeResultSet(); diff --git a/connectivity/source/drivers/firebird/Statement.hxx b/connectivity/source/drivers/firebird/Statement.hxx index d08566579163..ade5a8de5d3a 100644 --- a/connectivity/source/drivers/firebird/Statement.hxx +++ b/connectivity/source/drivers/firebird/Statement.hxx @@ -83,10 +83,6 @@ namespace connectivity virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw(css::uno::RuntimeException, std::exception) override; - // XCloseable - virtual void SAL_CALL close() - throw(css::sdbc::SQLException, - css::uno::RuntimeException, std::exception) override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx index 9ec5c02a0598..ce3a17ec2d5c 100644 --- a/connectivity/source/drivers/postgresql/pq_xtables.cxx +++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx @@ -375,11 +375,6 @@ Reference< css::container::XNameAccess > Tables::create( return ret; } -void Tables::disposing() -{ - Container::disposing(); -} - }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/postgresql/pq_xtables.hxx b/connectivity/source/drivers/postgresql/pq_xtables.hxx index 17bb5fac374a..9e542abe0f6a 100644 --- a/connectivity/source/drivers/postgresql/pq_xtables.hxx +++ b/connectivity/source/drivers/postgresql/pq_xtables.hxx @@ -85,8 +85,7 @@ public: // XDataDescriptorFactory throw (css::uno::RuntimeException, std::exception) override; protected: - virtual void SAL_CALL disposing() override; - + using Container::disposing; }; } diff --git a/connectivity/source/drivers/postgresql/pq_xviews.cxx b/connectivity/source/drivers/postgresql/pq_xviews.cxx index 2e97f17afd5d..0e471bcc989c 100644 --- a/connectivity/source/drivers/postgresql/pq_xviews.cxx +++ b/connectivity/source/drivers/postgresql/pq_xviews.cxx @@ -230,12 +230,6 @@ Reference< css::container::XNameAccess > Views::create( return ret; } -void Views::disposing() -{ - Container::disposing(); -} - - }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/postgresql/pq_xviews.hxx b/connectivity/source/drivers/postgresql/pq_xviews.hxx index 751f2018d8f2..d4263203e802 100644 --- a/connectivity/source/drivers/postgresql/pq_xviews.hxx +++ b/connectivity/source/drivers/postgresql/pq_xviews.hxx @@ -85,8 +85,7 @@ public: // XDataDescriptorFactory throw (css::uno::RuntimeException, std::exception) override; protected: - virtual void SAL_CALL disposing() override; - + using Container::disposing; }; } diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx index b7f40ffcbc05..5396e6475d48 100644 --- a/connectivity/source/inc/dbase/DIndex.hxx +++ b/connectivity/source/inc/dbase/DIndex.hxx @@ -100,9 +100,6 @@ namespace connectivity virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override; static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; - const ODbaseTable* getTable() const { return m_pTable; } const NDXHeader& getHeader() const { return m_aHeader; } OIndexIterator* createIterator(); diff --git a/connectivity/source/inc/file/FTable.hxx b/connectivity/source/inc/file/FTable.hxx index d74ff25640be..3c460ff91710 100644 --- a/connectivity/source/inc/file/FTable.hxx +++ b/connectivity/source/inc/file/FTable.hxx @@ -65,8 +65,6 @@ namespace connectivity //XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; // ::cppu::OComponentHelper virtual void SAL_CALL disposing() override; |