[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jul 29 13:34:19 UTC 2018
sw/source/uibase/inc/swdtflvr.hxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 072f5f01b2d089ddeb763c2dd62febe926935a71
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jul 29 11:56:10 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 29 15:33:57 2018 +0200
coverity#1401328 Uncaught exception
Change-Id: I9855d38d095ab726cd4c63573b71313f6bcb2ef8
Reviewed-on: https://gerrit.libreoffice.org/58274
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list