Kaydet (Commit) dda9d336 authored tarafından Kurt Zenker's avatar Kurt Zenker

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
üst 40682794
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: UITools.cxx,v $ * $RCSfile: UITools.cxx,v $
* $Revision: 1.78 $ * $Revision: 1.79 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -442,9 +442,9 @@ Reference< XDataSource > getDataSourceByName_displayError( const ::rtl::OUString ...@@ -442,9 +442,9 @@ Reference< XDataSource > getDataSourceByName_displayError( const ::rtl::OUString
aError = e.TargetException; aError = e.TargetException;
} }
} }
catch(const Exception&) catch( const Exception& )
{ {
DBG_ERROR( "getDataSourceByName_displayError: caught an unexpected exception!" ); DBG_UNHANDLED_EXCEPTION();
} }
if ( xDatasource.is() ) if ( xDatasource.is() )
...@@ -1094,7 +1094,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol, ...@@ -1094,7 +1094,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol,
} }
catch( const Exception& ) catch( const Exception& )
{ {
DBG_ERROR( "::callColumnFormatDialog: caught an exception!" ); DBG_UNHANDLED_EXCEPTION();
} }
} }
} }
...@@ -1931,9 +1931,9 @@ Reference< XNumberFormatter > getNumberFormatter(const Reference< XConnection >& ...@@ -1931,9 +1931,9 @@ Reference< XNumberFormatter > getNumberFormatter(const Reference< XConnection >&
xFormatter->attachNumberFormatsSupplier(xSupplier); xFormatter->attachNumberFormatsSupplier(xSupplier);
} }
} }
catch(Exception&) catch(const Exception&)
{ {
OSL_ENSURE(0,"Exception catched!"); DBG_UNHANDLED_EXCEPTION();
} }
return xFormatter; return xFormatter;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment