Tag: cws_src680_dba204b User: fs Date: 2006/07/13 03:03:41 Modified: dba/connectivity/source/drivers/file/FStatement.cxx
Log: #i67290# File Changes: Directory: /dba/connectivity/source/drivers/file/ ================================================= File [changed]: FStatement.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/file/FStatement.cxx?r1=1.40&r2=1.40.2.1 Delta lines: +10 -6 -------------------- --- FStatement.cxx 10 Jul 2006 14:27:07 -0000 1.40 +++ FStatement.cxx 13 Jul 2006 10:03:39 -0000 1.40.2.1 @@ -4,9 +4,9 @@ * * $RCSfile: FStatement.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.40.2.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 14:27:07 $ + * last change: $Author: fs $ $Date: 2006/07/13 10:03:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -262,10 +262,14 @@ ::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(); + } + catch( const DisposedException& ) { } + m_xResultSet = Reference< XResultSet>(); } //-------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
