diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 09:55:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 21:23:53 +0100 |
commit | 18a7a5859b6c2f59ab2f64eadfc6178abb96940b (patch) | |
tree | 7051d6de44cb6ac9f47e5bbdcdcf559c18f4c8a5 /sd | |
parent | 9310a64bbe36b7a2a2d7c51ca6386590883b5044 (diff) |
coverity#1424266 Uncaught exception
Change-Id: I63b04fba25b09753baa1dd1cac18f44860cdb264
Reviewed-on: https://gerrit.libreoffice.org/45581
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/ViewShell.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |