summaryrefslogtreecommitdiff
path: root/sw/inc/unotxdoc.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-21 09:36:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-21 13:00:13 +0200
commit8d96717154c0c69e46032c10d7e7ddef297a4668 (patch)
tree2ca2736bb589e51682664948b604008444d93754 /sw/inc/unotxdoc.hxx
parent4a5ed266e64b892dde8a3e36be042e7e9d307eae (diff)
coverity#1401334 Uncaught exception
Change-Id: I2a74e0bcba46b730067b5baca5e934f95ba265ce Reviewed-on: https://gerrit.libreoffice.org/60854 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r--sw/inc/unotxdoc.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 0636dbfd5007..6bb104a168ca 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -55,6 +55,7 @@
#include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp>
#include <com/sun/star/document/XDocumentLanguages.hpp>
#include <com/sun/star/util/XCloneable.hpp>
+#include <o3tl/deleter.hxx>
#include <rtl/ref.hxx>
#include <svx/fmdmod.hxx>
#include <editeng/UnoForbiddenCharsTable.hxx>
@@ -133,7 +134,7 @@ private:
class Impl;
::sw::UnoImplPtr<Impl> m_pImpl;
- std::deque<std::unique_ptr<UnoActionContext>> maActionArr;
+ std::deque<std::unique_ptr<UnoActionContext, o3tl::default_delete<UnoActionContext>>> maActionArr;
const SfxItemPropertySet* pPropSet;