Tag: cws_src680_dba204b
User: fs      
Date: 2006/07/13 02:57:16

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

Log:
 #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.23.16.1
Delta lines:  +11 -7
--------------------
--- AStatement.cxx      20 Jun 2006 01:15:15 -0000      1.23
+++ AStatement.cxx      13 Jul 2006 09:57:14 -0000      1.23.16.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AStatement.cxx,v $
  *
- *  $Revision: 1.23 $
+ *  $Revision: 1.23.16.1 $
  *
- *  last change: $Author: hr $ $Date: 2006/06/20 01:15:15 $
+ *  last change: $Author: fs $ $Date: 2006/07/13 09:57:14 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -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