summaryrefslogtreecommitdiff
path: root/sw/inc/finalthreadmanager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/finalthreadmanager.hxx')
-rw-r--r--sw/inc/finalthreadmanager.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx
index 26c526178ff0..b1f220b34f8d 100644
--- a/sw/inc/finalthreadmanager.hxx
+++ b/sw/inc/finalthreadmanager.hxx
@@ -28,6 +28,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/mutex.hxx>
#include <list>
+#include <memory>
class CancelJobsThread;
class TerminateOfficeThread;
@@ -73,9 +74,9 @@ private:
osl::Mutex maMutex;
std::list< css::uno::Reference< css::util::XCancellable > > maThreads;
- CancelJobsThread* mpCancelJobsThread;
+ std::unique_ptr<CancelJobsThread> mpCancelJobsThread;
TerminateOfficeThread* mpTerminateOfficeThread;
- SwPauseThreadStarting* mpPauseThreadStarting;
+ std::unique_ptr<SwPauseThreadStarting> mpPauseThreadStarting;
bool mbRegisteredAtDesktop;
};