sw/source/filter/basflt/shellio.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 97f8d4dd1201dedf5640fb0070b4df8359260a0d
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 10 09:57:59 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Feb 10 13:01:43 2021 +0100

    cid#1401334 silence Uncaught exception
    
    Change-Id: Ie8425ea3d528811fbb27d0e793c6ebed5a65ac68
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110695
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/filter/basflt/shellio.cxx 
b/sw/source/filter/basflt/shellio.cxx
index 88e6d04459cd..272e36a8ec6c 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -29,6 +29,7 @@
 #include <editeng/ulspitem.hxx>
 #include <editeng/boxitem.hxx>
 #include <editeng/paperinf.hxx>
+#include <o3tl/deleter.hxx>
 #include <node.hxx>
 #include <docary.hxx>
 #include <fmtanchr.hxx>
@@ -851,7 +852,7 @@ ErrCode SwWriter::Write( WriterRef const & rxWriter, const 
OUString* pRealFileNa
         pESh->StartAllAction();
     }
 
-    auto xGuard = std::make_unique<PurgeGuard>(*pOutDoc);
+    std::unique_ptr<PurgeGuard, o3tl::default_delete<PurgeGuard>> xGuard(new 
PurgeGuard(*pOutDoc));
 
     pOutDoc->SetInWriting(true);
     ErrCode nError = ERRCODE_NONE;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to