diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 00:03:52 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 01:31:17 +0900 |
commit | 520891d058f9e936b9b8afb490b5a26c156008ef (patch) | |
tree | 6cb8ebad42c3504cb3e26249ba3458afb02a9922 /framework/source/dispatch/mailtodispatcher.cxx | |
parent | 4c1c531435e1bdb151d45626648486062012cbaa (diff) |
catch exception by constant reference
Diffstat (limited to 'framework/source/dispatch/mailtodispatcher.cxx')
-rw-r--r-- | framework/source/dispatch/mailtodispatcher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx index 96ef8cdefe15..095ff5500549 100644 --- a/framework/source/dispatch/mailtodispatcher.cxx +++ b/framework/source/dispatch/mailtodispatcher.cxx @@ -286,10 +286,10 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL& xSystemShellExecute->execute( aURL.Complete, ::rtl::OUString(), css::system::SystemShellExecuteFlags::DEFAULTS ); bSuccess = sal_True; } - catch (css::lang::IllegalArgumentException&) + catch (const css::lang::IllegalArgumentException&) { } - catch (css::system::SystemShellExecuteException&) + catch (const css::system::SystemShellExecuteException&) { } } |