sw/source/uibase/uno/loktxdoc.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6080c075301331cf8233483bc3c2fe7f7cb8db15
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Fri Jul 4 08:42:19 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Fri Jul 4 11:07:50 2025 +0200

    cid#1655270 suppress Uncaught exception
    
    Change-Id: Id995b6ebe7e36084e759638e177f2e4a97358430
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187361
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/uibase/uno/loktxdoc.cxx 
b/sw/source/uibase/uno/loktxdoc.cxx
index 7701e874b9f8..2906920b712e 100644
--- a/sw/source/uibase/uno/loktxdoc.cxx
+++ b/sw/source/uibase/uno/loktxdoc.cxx
@@ -887,7 +887,7 @@ public:
                 Show(pRedline, m_rTable);
         }
     }
-    ~HideNewerShowOlder()
+    void ImplDestroy()
     {
         // I assume, that only the redlines explicitly handled in ctor would 
change their visible
         // state; so here, only Insert / Delete redlines will be handled.
@@ -899,6 +899,7 @@ public:
                 Hide(pRedline, m_rTable);
         }
     }
+    ~HideNewerShowOlder() { suppress_fun_call_w_exception(ImplDestroy()); }
 
 private:
     static std::unordered_map<SwRangeRedline*, bool>

Reply via email to