diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-17 01:03:18 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-17 01:03:18 +0200 |
commit | b337edca1a4ad098810fd639d75dabc1d0ecff26 (patch) | |
tree | 2cf43a6a51fc66417246a1556eec3efd9d45f72a /shell | |
parent | 3f15bfa050f79fd18ecb46d859c7dd79b79c230b (diff) |
Better management of exception
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/cmdmail/cmdmailsuppl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index 2bd36e9e9e8d..ec623c02cde4 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -214,12 +214,12 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM } - catch( RuntimeException e ) + catch(const RuntimeException &e ) { m_xConfigurationProvider.clear(); OSL_TRACE( "RuntimeException caught accessing configuration provider." ); OSL_TRACE( "%s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); - throw e; + throw; } // Append originator if set in the message |