diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 09:36:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 13:00:13 +0200 |
commit | 8d96717154c0c69e46032c10d7e7ddef297a4668 (patch) | |
tree | 2ca2736bb589e51682664948b604008444d93754 /sw/source/core/layout/calcmove.cxx | |
parent | 4a5ed266e64b892dde8a3e36be042e7e9d307eae (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/source/core/layout/calcmove.cxx')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index 38409de14e0d..9594b91ab536 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -1179,7 +1179,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) PROTOCOL_ENTER( this, PROT::MakeAll, DbgAction::NONE, nullptr ) // takes care of the notification in the dtor - std::unique_ptr<SwContentNotify> pNotify(new SwContentNotify( this )); + std::unique_ptr<SwContentNotify, o3tl::default_delete<SwContentNotify>> pNotify(new SwContentNotify( this )); // as long as bMakePage is true, a new page can be created (exactly once) bool bMakePage = true; |