sc/source/ui/inc/anyrefdg.hxx | 2 +- sc/source/ui/miscdlgs/anyrefdg.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit dd07ab686814398cca145c48225b2caec2484296 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat Aug 2 13:10:33 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Aug 2 16:06:16 2025 +0200 cid#1401342 silence Uncaught exception Change-Id: I0e8a7153a570737cced20610b870b28d14cfc60f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188820 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 8d422e66add3..2dbced0743d7 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -49,7 +49,7 @@ class ScFormulaReferenceHelper public: ScFormulaReferenceHelper(IAnyRefDialog* _pDlg, SfxBindings* _pBindings); - ~ScFormulaReferenceHelper() COVERITY_NOEXCEPT_FALSE; + ~ScFormulaReferenceHelper(); void dispose(); void ShowSimpleReference(std::u16string_view rStr); diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 18f3260718b0..6676b996ea69 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -57,9 +57,9 @@ ScFormulaReferenceHelper::ScFormulaReferenceHelper(IAnyRefDialog* _pDlg,SfxBindi m_bEnableColorRef=aInputOption.GetRangeFinder(); } -ScFormulaReferenceHelper::~ScFormulaReferenceHelper() COVERITY_NOEXCEPT_FALSE +ScFormulaReferenceHelper::~ScFormulaReferenceHelper() { - dispose(); + suppress_fun_call_w_exception(dispose()); } void ScFormulaReferenceHelper::dispose()