User: rt      
Date: 2006/07/26 00:22:16

Modified:
   dba/connectivity/source/drivers/ado/AStatement.cxx

Log:
 INTEGRATION: CWS dba204b (1.23.16); FILE MERGED
 2006/07/13 09:57:14 fs 1.23.16.1: #i67290#

File Changes:

Directory: /dba/connectivity/source/drivers/ado/
================================================

File [changed]: AStatement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AStatement.cxx?r1=1.23&r2=1.24
Delta lines:  +8 -4
-------------------
--- AStatement.cxx      20 Jun 2006 01:15:15 -0000      1.23
+++ AStatement.cxx      26 Jul 2006 07:22:13 -0000      1.24
@@ -218,11 +218,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 >();
 }
 //--------------------------------------------------------------------
 sal_Int32 OStatement_Base::getRowCount () throw( SQLException)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to