Tag: cws_src680_odbmacros2
User: fs      
Date: 2008-02-06 08:35:31+0000
Modified:
   dba/dbaccess/source/ui/browser/genericcontroller.cxx

Log:
 slight refactoring during #i49133#

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: genericcontroller.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.81.56.5&r2=1.81.56.6
Delta lines:  +8 -6
-------------------
--- genericcontroller.cxx       2008-01-24 10:39:06+0000        1.81.56.5
+++ genericcontroller.cxx       2008-02-06 08:35:28+0000        1.81.56.6
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: genericcontroller.cxx,v $
  *
- *  $Revision: 1.81.56.5 $
+ *  $Revision: 1.81.56.6 $
  *
- *  last change: $Author: fs $ $Date: 2008/01/24 10:39:06 $
+ *  last change: $Author: fs $ $Date: 2008/02/06 08:35:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1073,11 +1073,13 @@
        {
         try
         {
-            Reference< util::XCloseable > xCloseable( 
m_aCurrentFrame.getFrame(), UNO_QUERY );
-                       if ( xCloseable.is() )
+            Reference< util::XCloseable > xCloseable( 
m_aCurrentFrame.getFrame(), UNO_QUERY_THROW );
                                xCloseable->close( sal_False ); // false - 
holds the owner ship for this frame inside this object!
         }
-               catch(const Exception&) {}
+        catch( const Exception& )
+        {
+            DBG_UNHANDLED_EXCEPTION();
+        }
        }
        return 0L;
 }




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

Reply via email to