From f3d74f9df0548afe74bfe655c1268fa5f32c5cc4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 29 May 2012 10:53:49 +0200 Subject: -Werror=overloaded-virtual Change-Id: Ic70ccbb9b9a3aeb226af116ce009937510cd8153 --- connectivity/source/drivers/kab/KPreparedStatement.hxx | 3 +++ connectivity/source/drivers/kab/KResultSet.hxx | 1 + connectivity/source/drivers/kab/KStatement.hxx | 1 + 3 files changed, 5 insertions(+) (limited to 'connectivity') diff --git a/connectivity/source/drivers/kab/KPreparedStatement.hxx b/connectivity/source/drivers/kab/KPreparedStatement.hxx index dfaf0407e238..44ccffd05de7 100644 --- a/connectivity/source/drivers/kab/KPreparedStatement.hxx +++ b/connectivity/source/drivers/kab/KPreparedStatement.hxx @@ -82,6 +82,9 @@ namespace connectivity virtual sal_Int32 SAL_CALL executeUpdate( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL execute( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); + using KabCommonStatement::executeQuery; + using KabCommonStatement::executeUpdate; + using KabCommonStatement::execute; // XParameters virtual void SAL_CALL setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); diff --git a/connectivity/source/drivers/kab/KResultSet.hxx b/connectivity/source/drivers/kab/KResultSet.hxx index fc7e5f49ce26..27929349b203 100644 --- a/connectivity/source/drivers/kab/KResultSet.hxx +++ b/connectivity/source/drivers/kab/KResultSet.hxx @@ -92,6 +92,7 @@ namespace connectivity virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const; + using OPropertySetHelper::getFastPropertyValue; // you can't delete objects of this type virtual ~KabResultSet(); diff --git a/connectivity/source/drivers/kab/KStatement.hxx b/connectivity/source/drivers/kab/KStatement.hxx index dcc141fc9bd2..3e1e3cdc05df 100644 --- a/connectivity/source/drivers/kab/KStatement.hxx +++ b/connectivity/source/drivers/kab/KStatement.hxx @@ -93,6 +93,7 @@ namespace connectivity virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const; + using OPropertySetHelper::getFastPropertyValue; virtual void resetParameters() const throw(::com::sun::star::sdbc::SQLException); virtual void getNextParameter(::rtl::OUString &rParameter) const throw(::com::sun::star::sdbc::SQLException); -- cgit