sw/source/core/graphic/ndgrf.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 9310a64bbe36b7a2a2d7c51ca6386590883b5044 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Nov 30 10:06:35 2017 +0000 coverity#1401344 Uncaught exception Change-Id: Ia102856797e08ff805958f56d2c468eb39aa937d Reviewed-on: https://gerrit.libreoffice.org/45582 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 7ef061715ba8..98426d77745f 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -51,6 +51,7 @@ #include <rtl/ustring.hxx> #include <unotools/ucbstreamhelper.hxx> #include <com/sun/star/embed/ElementModes.hpp> +#include <o3tl/deleter.hxx> #include <vcl/svapp.hxx> #include <retrieveinputstreamconsumer.hxx> #include <drawinglayer/processor2d/objectinfoextractor2d.hxx> @@ -1121,7 +1122,7 @@ void SwGrfNode::TriggerAsyncRetrieveInputStream() if ( mpThreadConsumer.get() == nullptr ) { - mpThreadConsumer.reset( new SwAsyncRetrieveInputStreamThreadConsumer( *this ) ); + mpThreadConsumer.reset(new SwAsyncRetrieveInputStreamThreadConsumer(*this), o3tl::default_delete<SwAsyncRetrieveInputStreamThreadConsumer>()); OUString sGrfNm; sfx2::LinkManager::GetDisplayNames( refLink.get(), nullptr, &sGrfNm );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits