diff options
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 |