From e995c817dd8a2a9e476dde4dfb3b041d0c50c408 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Nov 2015 09:38:04 +0000 Subject: coverity#1338251 Uncaught exception Change-Id: I92f1a05b7fb6718a0b74f7a792df250147a26137 --- svx/source/gengal/gengal.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx/source') 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; } -- cgit