basic/source/sbx/sbxvalue.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 010e99c701760e78060b884676b309d5934afd2f
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Sep 18 11:43:48 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Sep 18 15:27:53 2021 +0200

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

diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 4d278191bc20..7530f88dc6c6 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -137,7 +137,8 @@ SbxValue& SbxValue::operator=( const SbxValue& r )
 SbxValue::~SbxValue()
 {
     SetFlag( SbxFlagBits::Write );
-    SbxValue::Clear();
+    // cid#1486004 silence Uncaught exception
+    suppress_fun_call_w_exception(SbxValue::Clear());
 }
 
 void SbxValue::Clear()

Reply via email to