summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-23 08:55:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 11:37:06 +0000
commit67073c6bc870aceede4652fffd0571da584a4679 (patch)
tree51ae9f52464f622eb914e0cbe22a13c3b9ef505d /desktop
parent2563c8dd790f26909f9f15fd29b900ebfbc7e467 (diff)
use safer rethrow syntax
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/sofficemain.cxx2
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
}