From 99bada2f4cd3cf738d384a0bcef4dc4db3880cc2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Nov 2014 10:03:42 +0000 Subject: coverity#1019392 Uncaught exception Change-Id: Iab953700c9aa95fc3acd5f25233a942a31b7f5ad --- sdext/source/pdfimport/test/pdf2xml.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdext/source/pdfimport/test/pdf2xml.cxx b/sdext/source/pdfimport/test/pdf2xml.cxx index f081097c52d0..974822de0953 100644 --- a/sdext/source/pdfimport/test/pdf2xml.cxx +++ b/sdext/source/pdfimport/test/pdf2xml.cxx @@ -81,6 +81,11 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) 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; } -- cgit