summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-14 10:03:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-14 12:02:46 +0000
commit99bada2f4cd3cf738d384a0bcef4dc4db3880cc2 (patch)
treea8b639ba4090bd1fe390a3adb0d817f04add8bab /sdext
parent584d4f5dcd68f94df42cd78d06c55fd773eb3ca7 (diff)
coverity#1019392 Uncaught exception
Change-Id: Iab953700c9aa95fc3acd5f25233a942a31b7f5ad
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/test/pdf2xml.cxx5
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;
}