summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-02 09:23:34 +0200
committerNoel Grandin <noel@peralex.com>2015-03-02 10:25:49 +0200
commita3646d5572b770c74b7b8be80b1091c37a05abc6 (patch)
treebec0aaebc966c0d752b0fb7374a1695ae4c7f5da /connectivity
parent302f413eec4da8c8572911d08e939186c5ac57cf (diff)
cppcheck: duplicate inherited member
Change-Id: Iee20ca4523739eb082ea1fa8c1145891c0caed29
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_updateableresultset.cxx6
-rw-r--r--connectivity/source/drivers/postgresql/pq_updateableresultset.hxx6
2 files changed, 1 insertions, 11 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index 8241b179355b..95eb19b1e152 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -537,12 +537,6 @@ void UpdateableResultSet::updateNumericObject( sal_Int32 /* columnIndex */, cons
}
-::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > UpdateableResultSet::getMetaData( )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
-{
- return m_meta;
-}
-
Sequence< Type > UpdateableResultSet::getStaticTypes( bool updateable )
throw( com::sun::star::uno::RuntimeException )
{
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
index 247bd50e6b1b..c07c1407a5b9 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
@@ -70,7 +70,6 @@ class UpdateableResultSet :
OUString m_table;
com::sun::star::uno::Sequence< OUString > m_primaryKey;
UpdateableFieldVector m_updateableField;
- com::sun::star::uno::Reference< com::sun::star::sdbc::XResultSetMetaData > m_meta;
bool m_insertRow;
protected:
@@ -164,10 +163,7 @@ public: // XRowUpdate
virtual void SAL_CALL updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-public: // XResultSetMetaDataSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( )
- throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
+public:
static com::sun::star::uno::Sequence< com::sun::star::uno::Type > getStaticTypes( bool updateable )
throw( com::sun::star::uno::RuntimeException );