writerfilter/source/dmapper/DomainMapper_Impl.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9850aed84b8aa0a47eb89c7b547f1b90420db9a3
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 8 20:27:09 2023 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Feb 9 08:57:45 2023 +0000

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

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 32870f0a236a..d048d600f496 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -84,6 +84,7 @@
 #include <comphelper/indexedpropertyvalues.hxx>
 #include <editeng/flditem.hxx>
 #include <editeng/unotext.hxx>
+#include <o3tl/deleter.hxx>
 #include <o3tl/safeint.hxx>
 #include <o3tl/temporary.hxx>
 #include <oox/mathml/imexport.hxx>
@@ -451,7 +452,7 @@ DomainMapper_Impl::~DomainMapper_Impl()
     if (m_bIsNewDoc)
     {
         RemoveLastParagraph();
-        GetStyleSheetTable()->ApplyClonedTOCStyles();
+        
suppress_fun_call_w_exception(GetStyleSheetTable()->ApplyClonedTOCStyles());
     }
     if (hasTableManager())
     {

Reply via email to