summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorlbenes <lukebenes@hotmail.com>2016-07-29 19:40:56 -0400
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:30:12 +0000
commita4a71214d69ce2ef3f1e8dbbf17362ce50e55a45 (patch)
tree01693bfca0c47282c3eb4b65110758d43b07232a /comphelper/source
parentb38a2d57160fcb0204b05055190d3df6315f51b1 (diff)
comphelper: fix MSVC 2015 build by removing pointless catch
In C++11 the destructors are implicitly noexcept. Change-Id: I37e78e39bcc19dfbc81a781a5b353e49f09ae942 Reviewed-on: https://gerrit.libreoffice.org/27708 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/threadpool.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx
index 45425fbe778d..f399274eed24 100644
--- a/comphelper/source/misc/threadpool.cxx
+++ b/comphelper/source/misc/threadpool.cxx
@@ -72,17 +72,7 @@ public:
{
SAL_WARN("comphelper", "exception in thread worker while calling doWork(): " << e.Message);
}
- try {
- delete pTask;
- }
- catch (const std::exception &e)
- {
- SAL_WARN("comphelper", "exception in thread worker while deleting task: " << e.what());
- }
- catch (const css::uno::Exception &e)
- {
- SAL_WARN("comphelper", "exception in thread worker while deleting task: " << e.Message);
- }
+ delete pTask;
pTag->onTaskWorkerDone();
}
}