Explicit close/disposing.
Change-Id: Idcd89bd5f879a38f4c06f3602313672fb20bd098
This commit is contained in:
@@ -177,14 +177,14 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
|
||||
|
||||
void SAL_CALL OPreparedStatement::close() throw(SQLException, RuntimeException)
|
||||
{
|
||||
SAL_INFO("connectivity.firebird", "close()");
|
||||
|
||||
MutexGuard aGuard( m_pConnection->getMutex() );
|
||||
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
|
||||
|
||||
OStatementCommonBase::close();
|
||||
}
|
||||
|
||||
void SAL_CALL OPreparedStatement::disposing()
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
void SAL_CALL OPreparedStatement::setString(sal_Int32 nParameterIndex,
|
||||
const OUString& x)
|
||||
throw(SQLException, RuntimeException)
|
||||
|
@@ -154,7 +154,12 @@ namespace connectivity
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XCloseable
|
||||
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL close()
|
||||
throw(::com::sun::star::sdbc::SQLException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
// OComponentHelper
|
||||
virtual void SAL_CALL disposing();
|
||||
|
||||
// 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);
|
||||
|
||||
|
@@ -181,4 +181,13 @@ uno::Sequence< Type > SAL_CALL OStatement::getTypes()
|
||||
OStatementCommonBase::getTypes());
|
||||
}
|
||||
|
||||
void SAL_CALL OStatement::close() throw(SQLException, RuntimeException)
|
||||
{
|
||||
OStatementCommonBase::close();
|
||||
}
|
||||
|
||||
void SAL_CALL OStatement::disposing()
|
||||
{
|
||||
close();
|
||||
}
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -77,6 +77,13 @@ namespace connectivity
|
||||
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
|
||||
getTypes()
|
||||
throw(::com::sun::star::uno::RuntimeException);
|
||||
// XCloseable
|
||||
virtual void SAL_CALL close()
|
||||
throw(::com::sun::star::sdbc::SQLException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
// OComponentHelper
|
||||
virtual void SAL_CALL disposing();
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user