diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 08:55:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 11:37:06 +0000 |
commit | 67073c6bc870aceede4652fffd0571da584a4679 (patch) | |
tree | 51ae9f52464f622eb914e0cbe22a13c3b9ef505d /desktop | |
parent | 2563c8dd790f26909f9f15fd29b900ebfbc7e467 (diff) |
use safer rethrow syntax
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 835c35824b26..5ec3dd49c275 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -75,7 +75,7 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() } catch (const ::com::sun::star::uno::Exception &e) { fprintf (stderr, "Not handled UNO exception at main: '%s'\n", rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr()); - throw e; // to get exception type printed + throw; // to get exception type printed } #endif } |