[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Thu Nov 30 20:24:53 UTC 2017


 sd/source/ui/inc/ViewShell.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 18a7a5859b6c2f59ab2f64eadfc6178abb96940b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 30 09:55:13 2017 +0000

    coverity#1424266 Uncaught exception
    
    Change-Id: I63b04fba25b09753baa1dd1cac18f44860cdb264
    Reviewed-on: https://gerrit.libreoffice.org/45581
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index d94376e1764e..f65c5e31af60 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -32,6 +32,7 @@
 #include <sddllapi.h>
 
 #include <com/sun/star/drawing/XDrawSubController.hpp>
+#include <o3tl/deleter.hxx>
 #include <memory>
 
 class SdPage;
@@ -486,7 +487,7 @@ protected:
     /// The type of the shell.  Returned by GetShellType().
     ShellType meShellType;
 
-    ::std::unique_ptr<Implementation> mpImpl;
+    std::unique_ptr<Implementation, o3tl::default_delete<Implementation>> mpImpl;
 
     // Support methods for centralized UNDO/REDO
     virtual ::svl::IUndoManager* ImpGetUndoManager() const;


More information about the Libreoffice-commits mailing list