diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:06:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:58:04 +0100 |
commit | 52b2ccf1769ed59b9a33ac1d5086e61f7ae6a408 (patch) | |
tree | fa8dff21d81e1862a8f468674c7c63afcd542a25 /svtools | |
parent | 10a7c828beeb6658124dfa94a9374d0a9971f079 (diff) |
coverity#1308588 Uncaught exception
Change-Id: I1979075cc4ad9e6b37235306c658fcceb96d7721
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/langsupport/langsupport.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svtools/langsupport/langsupport.cxx b/svtools/langsupport/langsupport.cxx index b9038d0d8996..3a43af30eedf 100644 --- a/svtools/langsupport/langsupport.cxx +++ b/svtools/langsupport/langsupport.cxx @@ -69,6 +69,11 @@ SAL_IMPLEMENT_MAIN() SAL_WARN("vcl.app", "Fatal exception: " << e.Message); return 1; } + catch (const std::exception &e) + { + SAL_WARN("vcl.app", "Fatal exception: " << e.what()); + return 1; + } return 0; } |