summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-05 08:43:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-05 14:01:36 +0200
commitf40596d3057cccba1584a856ef7db7fa167f11d2 (patch)
tree126cda9c516034781d9a9e1e23e864a230ae25b1 /sw
parentfix duplicate strings in notebookbar *again* (diff)
downloadcore-f40596d3057cccba1584a856ef7db7fa167f11d2.tar.gz
core-f40596d3057cccba1584a856ef7db7fa167f11d2.zip
coverity#1401308 Uncaught exception
and coverity#1401307 Uncaught exception Change-Id: I35cd9b13c2f410f628e0e70520d88d9538ce673b Reviewed-on: https://gerrit.libreoffice.org/52445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/finalthreadmanager.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx
index b1f220b34f8d..009a18e6ab4e 100644
--- a/sw/inc/finalthreadmanager.hxx
+++ b/sw/inc/finalthreadmanager.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/util/XJobManager.hpp>
#include <com/sun/star/frame/XTerminateListener2.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
+#include <o3tl/deleter.hxx>
#include <osl/mutex.hxx>
#include <list>
#include <memory>
@@ -76,7 +77,7 @@ private:
std::list< css::uno::Reference< css::util::XCancellable > > maThreads;
std::unique_ptr<CancelJobsThread> mpCancelJobsThread;
TerminateOfficeThread* mpTerminateOfficeThread;
- std::unique_ptr<SwPauseThreadStarting> mpPauseThreadStarting;
+ std::unique_ptr<SwPauseThreadStarting, o3tl::default_delete<SwPauseThreadStarting>> mpPauseThreadStarting;
bool mbRegisteredAtDesktop;
};