[Libreoffice-commits] core.git: sw/inc

Caolán McNamara caolanm at redhat.com
Thu Apr 5 12:02:33 UTC 2018


 sw/inc/finalthreadmanager.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f40596d3057cccba1584a856ef7db7fa167f11d2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 5 08:43:31 2018 +0100

    coverity#1401308 Uncaught exception
    
    and
    
    coverity#1401307 Uncaught exception
    
    Change-Id: I35cd9b13c2f410f628e0e70520d88d9538ce673b
    Reviewed-on: https://gerrit.libreoffice.org/52445
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;
 };


More information about the Libreoffice-commits mailing list