diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/test/pdf2xml.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |