Tag: cws_src680_dba204b
User: fs      
Date: 2006/07/13 03:06:51

Modified:
   dba/connectivity/source/drivers/mozab/MStatement.cxx

Log:
 #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.13.2.1
Delta lines:  +11 -7
--------------------
--- MStatement.cxx      10 Jul 2006 14:29:59 -0000      1.13
+++ MStatement.cxx      13 Jul 2006 10:06:48 -0000      1.13.2.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MStatement.cxx,v $
  *
- *  $Revision: 1.13 $
+ *  $Revision: 1.13.2.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/07/10 14:29:59 $
+ *  last change: $Author: fs $ $Date: 2006/07/13 10:06:48 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -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]

Reply via email to