diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-10-06 19:40:20 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-10-06 19:40:20 +0200 |
commit | 9de01eeba7ecc2df5546b5a64559fed90f29ffbb (patch) | |
tree | e20c2a7813d802c73f4114db5b4184dcb53870a2 /connectivity | |
parent | bf9339718984fc88e3f1cd3174b61eda5c13933b (diff) |
Revert "ADO driver: don't override a virtual method just to call the one of the parent"
This reverts commit 220deb0a0ed7b3efa14088acdab0520709309105.
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/inc/ado/APreparedStatement.hxx | 2 |
2 files changed, 12 insertions, 0 deletions
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); |