summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-18 11:43:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-18 15:27:53 +0200
commit010e99c701760e78060b884676b309d5934afd2f (patch)
tree5b7eed1597199e4af005a0fca33cedb6408fa74a /basic
parente9f59e76292f815faefa4ca3877d3aacdad3be5a (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx3
1 files changed, 2 insertions, 1 deletions
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()