Tag: cws_src680_dba204b
User: fs      
Date: 2006/07/13 02:56:45

Modified:
   dba/connectivity/source/drivers/evoab2/NStatement.cxx

Log:
 #i67290#

File Changes:

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

File [changed]: NStatement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab2/NStatement.cxx?r1=1.5&r2=1.5.2.1
Delta lines:  +12 -7
--------------------
--- NStatement.cxx      10 Jul 2006 14:26:12 -0000      1.5
+++ NStatement.cxx      13 Jul 2006 09:56:42 -0000      1.5.2.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: NStatement.cxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.2.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/07/10 14:26:12 $
+ *  last change: $Author: fs $ $Date: 2006/07/13 09:56:42 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -186,10 +186,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 >();
 }
 
 EBookQuery *




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

Reply via email to