diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-01-20 08:31:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-01-21 09:42:40 +0100 |
commit | 9e4419dcb9f30f46ba9cc2db62e8a2859c075c29 (patch) | |
tree | 81b72d1f6c85909f37f6434d4b75c34b56197806 /test | |
parent | 9723eab349aae681e2680b0bf1854bf5a55e2589 (diff) |
cid#1465236 Uncaught exception
and drop coverity workarounds
Change-Id: If9ffc607999285b2f5b63e85c51b0289fb05750f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180531
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/vclbootstrapprotector.cxx | 15 |
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( |