From 220deb0a0ed7b3efa14088acdab0520709309105 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Mon, 16 Jun 2014 18:50:00 +0200 Subject: ADO driver: don't override a virtual method just to call the one of the parent Change-Id: I39020452e8ff4b17b0c1cfb9ff54bf650ab97fc3 --- connectivity/source/drivers/ado/APreparedStatement.cxx | 10 ---------- connectivity/source/inc/ado/APreparedStatement.hxx | 2 -- 2 files changed, 12 deletions(-) diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 691408e1a9f1..058a8bd59f17 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -444,16 +444,6 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim } } -void SAL_CALL OPreparedStatement::acquire() throw() -{ - OStatement_Base::acquire(); -} - -void SAL_CALL OPreparedStatement::release() throw() -{ - OStatement_Base::release(); -} - void OPreparedStatement::replaceParameterNodeName(OSQLParseNode* _pNode, const OUString& _sDefaultName, sal_Int32& _rParameterCount) diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx index 3a46f1faf509..8210f8a087a5 100644 --- a/connectivity/source/inc/ado/APreparedStatement.hxx +++ b/connectivity/source/inc/ado/APreparedStatement.hxx @@ -63,8 +63,6 @@ namespace connectivity // a Constructor, that is needed for when Returning the Object is needed: OPreparedStatement( OConnection* _pConnection,const OTypeInfoMap& _TypeInfo,const OUString& sql); - virtual void SAL_CALL acquire() throw(); - virtual void SAL_CALL release() throw(); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); //XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); -- cgit