From 9de01eeba7ecc2df5546b5a64559fed90f29ffbb Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Mon, 6 Oct 2014 19:40:20 +0200 Subject: Revert "ADO driver: don't override a virtual method just to call the one of the parent" This reverts commit 220deb0a0ed7b3efa14088acdab0520709309105. --- connectivity/source/drivers/ado/APreparedStatement.cxx | 10 ++++++++++ connectivity/source/inc/ado/APreparedStatement.hxx | 2 ++ 2 files changed, 12 insertions(+) diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 058a8bd59f17..691408e1a9f1 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -444,6 +444,16 @@ 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 8210f8a087a5..3a46f1faf509 100644 --- a/connectivity/source/inc/ado/APreparedStatement.hxx +++ b/connectivity/source/inc/ado/APreparedStatement.hxx @@ -63,6 +63,8 @@ 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