User: rt Date: 2006/07/26 00:24:25 Modified: dba/connectivity/source/drivers/mozab/MStatement.cxx
Log: INTEGRATION: CWS dba204b (1.13.2); FILE MERGED 2006/07/13 10:06:48 fs 1.13.2.1: #i67290# File Changes: Directory: /dba/connectivity/source/drivers/mozab/ ================================================== File [changed]: MStatement.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MStatement.cxx?r1=1.13&r2=1.14 Delta lines: +8 -4 ------------------- --- MStatement.cxx 10 Jul 2006 14:29:59 -0000 1.13 +++ MStatement.cxx 26 Jul 2006 07:24:22 -0000 1.14 @@ -217,11 +217,15 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OStatement_BASE::rBHelper.bDisposed); - + try + { Reference<XCloseable> xCloseable; - if(::comphelper::query_interface(m_xResultSet.get(),xCloseable)) + if ( ::comphelper::query_interface( m_xResultSet.get(), xCloseable ) ) xCloseable->close(); - m_xResultSet = Reference< XResultSet>(); + } + catch( const DisposedException& ) { } + + m_xResultSet = Reference< XResultSet >(); } void OStatement_Base::createTable( ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
