summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 10:47:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-18 21:37:55 +0200
commit8ba4058ede102224cbdbea5c03dda2adfed61ea5 (patch)
tree3273a88440842b2fb917d042bb788c17f02588ff
parentfbaf0ccbf43ec3ed320c56a2bff4d7e8e59fb132 (diff)
cid#1448353 Uncaught exception
Change-Id: Ia967db3f73bee9167be4fd88090b27bfdbd4aca0 Reviewed-on: https://gerrit.libreoffice.org/75881 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--package/inc/ThreadedDeflater.hxx2
-rw-r--r--package/source/zipapi/ThreadedDeflater.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ThreadedDeflater.hxx b/package/inc/ThreadedDeflater.hxx
index 90801700a37e..7a86fbbd72ca 100644
--- a/package/inc/ThreadedDeflater.hxx
+++ b/package/inc/ThreadedDeflater.hxx
@@ -47,7 +47,7 @@ class ThreadedDeflater final
public:
// Unlike with Deflater class, bNoWrap is always true.
ThreadedDeflater(sal_Int32 nSetLevel);
- ~ThreadedDeflater();
+ ~ThreadedDeflater() COVERITY_NOEXCEPT_FALSE;
void startDeflate(const css::uno::Sequence<sal_Int8>& rBuffer);
void waitForTasks();
bool finished() const;
diff --git a/package/source/zipapi/ThreadedDeflater.cxx b/package/source/zipapi/ThreadedDeflater.cxx
index 930ab13ded71..f5fedee0273b 100644
--- a/package/source/zipapi/ThreadedDeflater.cxx
+++ b/package/source/zipapi/ThreadedDeflater.cxx
@@ -66,7 +66,7 @@ ThreadedDeflater::ThreadedDeflater(sal_Int32 nSetLevel)
{
}
-ThreadedDeflater::~ThreadedDeflater()
+ThreadedDeflater::~ThreadedDeflater() COVERITY_NOEXCEPT_FALSE
{
waitForTasks();
clear();