summaryrefslogtreecommitdiff
path: root/test/source/vclbootstrapprotector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/vclbootstrapprotector.cxx')
-rw-r--r--test/source/vclbootstrapprotector.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/source/vclbootstrapprotector.cxx b/test/source/vclbootstrapprotector.cxx
index 568a1928887e..b0e9518a392d 100644
--- a/test/source/vclbootstrapprotector.cxx
+++ b/test/source/vclbootstrapprotector.cxx
@@ -26,18 +26,9 @@ public:
private:
virtual ~Protector() override {
-#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023
- try {
-#endif
- DeInitVCL();
- // for the 6 tests that use it
- comphelper::ThreadPool::getSharedOptimalPool().shutdown();
-#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023
- } catch (const std::exception& e) {
- SAL_WARN("vcl.app", "Fatal exception: " << e.what());
- std::terminate();
- }
-#endif
+ DeInitVCL();
+ // for the 6 tests that use it
+ comphelper::ThreadPool::getSharedOptimalPool().shutdown();
}
virtual bool protect(