User: kz Date: 2008-05-05 15:57:07+0000 Modified: dba/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx
Log: INTEGRATION: CWS dba30b (1.2.144); FILE MERGED 2008/04/15 22:13:20 fs 1.2.144.2: RESYNC: (1.2-1.3); FILE MERGED 2008/03/16 14:09:02 fs 1.2.144.1: some exception handling re-factoring File Changes: Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: ExtensionNotPresent.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx?r1=1.3&r2=1.4 Delta lines: +17 -16 --------------------- --- ExtensionNotPresent.cxx 2008-04-10 14:33:57+0000 1.3 +++ ExtensionNotPresent.cxx 2008-05-05 15:57:04+0000 1.4 @@ -29,28 +29,29 @@ ************************************************************************/ #include "precompiled_dbaccess.hxx" -#include "ExtensionNotPresent.hxx" -#include "ExtensionNotPresent.hrc" -#include <com/sun/star/beans/XPropertySet.hpp> -#include <tools/debug.hxx> #include "dbaccess_helpid.hrc" #include "dbu_resource.hrc" +#include "ExtensionNotPresent.hrc" +#include "ExtensionNotPresent.hxx" #include "moduledbu.hxx" -#include <vcl/msgbox.hxx> -#include <svx/globlmn.hrc> -#include <svx/svxids.hrc> -#include <connectivity/dbconversion.hxx> -#include <svtools/syslocale.hxx> #include "UITools.hxx" +/** === begin UNO includes === **/ +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/system/SystemShellExecuteFlags.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/lang/XMultiComponentFactory.hpp> +/** === end UNO includes === **/ +#include <connectivity/dbconversion.hxx> +#include <svtools/syslocale.hxx> +#include <svx/globlmn.hrc> +#include <svx/svxids.hrc> +#include <tools/debug.hxx> +#include <tools/diagnose_ex.h> #include <unotools/confignode.hxx> -// #include <toolkit/unohlp.hxx> +#include <vcl/msgbox.hxx> -// #include "uistrings.hrc" namespace dbaui { @@ -207,9 +208,9 @@ uno::Reference< com::sun::star::system::XSystemShellExecute > xShellExecute( getShellExecuter() ); xShellExecute->execute( suDownloadURL, ::rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS ); } - catch(uno::Exception) + catch( const uno::Exception& ) { - OSL_ENSURE(0,"Exception caught!"); + DBG_UNHANDLED_EXCEPTION(); } return 0; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
