User: kz      
Date: 2008-05-05 16:00:39+0000
Modified:
   dba/dbaccess/source/ui/misc/UITools.cxx

Log:
 INTEGRATION: CWS dba30b (1.77.4); FILE MERGED
 2008/04/15 22:14:00 fs 1.77.4.2: RESYNC: (1.77-1.78); FILE MERGED
 2008/03/16 14:06:33 fs 1.77.4.1: some exception handling re-factoring

File Changes:

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

File [changed]: UITools.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/UITools.cxx?r1=1.78&r2=1.79
Delta lines:  +10 -10
---------------------
--- UITools.cxx 2008-04-10 15:58:45+0000        1.78
+++ UITools.cxx 2008-05-05 16:00:36+0000        1.79
@@ -442,9 +442,9 @@
                 aError = e.TargetException;
         }
        }
-       catch(const Exception&)
+    catch( const Exception& )
        {
-        DBG_ERROR( "getDataSourceByName_displayError: caught an unexpected 
exception!" );
+        DBG_UNHANDLED_EXCEPTION();
        }
 
        if ( xDatasource.is() )
@@ -1094,7 +1094,7 @@
                }
                catch( const Exception& )
                {
-                       DBG_ERROR( "::callColumnFormatDialog: caught an 
exception!" );
+            DBG_UNHANDLED_EXCEPTION();
                }
        }
 }
@@ -1931,9 +1931,9 @@
                                
xFormatter->attachNumberFormatsSupplier(xSupplier);
                }
        }
-       catch(Exception&)
+       catch(const Exception&)
        {
-               OSL_ENSURE(0,"Exception catched!");
+        DBG_UNHANDLED_EXCEPTION();
        }
        return xFormatter;
 }




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

Reply via email to