diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-29 11:56:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-07-29 15:33:57 +0200 |
commit | 072f5f01b2d089ddeb763c2dd62febe926935a71 (patch) | |
tree | 93f14394d18939d4b5835f1df10404ee9c45266f /sw | |
parent | 06e1b26e2ae3f761f2643057c3d085335bb70b82 (diff) |
coverity#1401328 Uncaught exception
Change-Id: I9855d38d095ab726cd4c63573b71313f6bcb2ef8
Reviewed-on: https://gerrit.libreoffice.org/58274
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/inc/swdtflvr.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/swdtflvr.hxx b/sw/source/uibase/inc/swdtflvr.hxx index d230f6f21387..4fef3bd1e6c4 100644 --- a/sw/source/uibase/inc/swdtflvr.hxx +++ b/sw/source/uibase/inc/swdtflvr.hxx @@ -25,6 +25,7 @@ #include <vcl/graph.hxx> #include <sfx2/lnkbase.hxx> #include <com/sun/star/embed/XEmbeddedObject.hpp> +#include <o3tl/deleter.hxx> #include <o3tl/typed_flags_set.hxx> #include <svx/swframetypes.hxx> #include <memory> @@ -68,7 +69,7 @@ class SW_DLLPUBLIC SwTransferable : public TransferableHelper /* #96392# Added pCreatorView to distinguish SwFrameShell from SwWrtShell. */ const SwFrameShell *m_pCreatorView; - std::unique_ptr<SwDocFac> m_pClpDocFac; + std::unique_ptr<SwDocFac, o3tl::default_delete<SwDocFac>> m_pClpDocFac; std::unique_ptr<Graphic> m_pClpGraphic; std::unique_ptr<Graphic> m_pClpBitmap; Graphic *m_pOrigGraphic; |