summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-05 15:00:36 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-05 15:00:36 +0000
commitdda9d33610eb20b709a2cc7e510f85041b3bd23a (patch)
treecad30ec8dbd8d5e828376b8fb9808fc811851344 /dbaccess/source/ui
parent406827943437aec12ceb33f1938b2eba278b3c86 (diff)
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
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 06153d3714fd..5aa506f0f5bf 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: UITools.cxx,v $
- * $Revision: 1.78 $
+ * $Revision: 1.79 $
*
* This file is part of OpenOffice.org.
*
@@ -442,9 +442,9 @@ Reference< XDataSource > getDataSourceByName_displayError( const ::rtl::OUString
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 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol,
}
catch( const Exception& )
{
- DBG_ERROR( "::callColumnFormatDialog: caught an exception!" );
+ DBG_UNHANDLED_EXCEPTION();
}
}
}
@@ -1931,9 +1931,9 @@ Reference< XNumberFormatter > getNumberFormatter(const Reference< XConnection >&
xFormatter->attachNumberFormatsSupplier(xSupplier);
}
}
- catch(Exception&)
+ catch(const Exception&)
{
- OSL_ENSURE(0,"Exception catched!");
+ DBG_UNHANDLED_EXCEPTION();
}
return xFormatter;
}