summaryrefslogtreecommitdiff
path: root/svx/source/gengal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:38:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:15:55 +0000
commite995c817dd8a2a9e476dde4dfb3b041d0c50c408 (patch)
treede903783ec069624f707743443db40206ac697fe /svx/source/gengal
parent4422c2271c05b9e1f25a0a03ec639a70a5281060 (diff)
coverity#1338251 Uncaught exception
Change-Id: I92f1a05b7fb6718a0b74f7a792df250147a26137
Diffstat (limited to 'svx/source/gengal')
-rw-r--r--svx/source/gengal/gengal.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 887b3bcc76a5..3690a9ffeb6e 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -321,6 +321,11 @@ int GalApp::Main()
SAL_WARN("vcl.app", "Fatal exception: " << e.Message);
return EXIT_FAILURE;
}
+ catch (const std::exception &e)
+ {
+ SAL_WARN("vcl.app", "Fatal exception: " << e.what());
+ return 1;
+ }
return EXIT_SUCCESS;
}