sw/source/core/unocore/unochart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2429b8f17ed1d1eb77e314e4bd0b3aae6d4f9acf
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Nov 15 09:07:56 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Nov 15 21:14:56 2021 +0100

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

diff --git a/sw/source/core/unocore/unochart.cxx 
b/sw/source/core/unocore/unochart.cxx
index 44d1f19e9dcf..e5116fed96cf 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -93,7 +93,7 @@ SwChartLockController_Helper::SwChartLockController_Helper( 
SwDoc *pDocument ) :
 SwChartLockController_Helper::~SwChartLockController_Helper()
 {
     if (m_pDoc)   // still connected?
-        Disconnect();
+        suppress_fun_call_w_exception(Disconnect());
 }
 
 void SwChartLockController_Helper::StartOrContinueLocking()

Reply via email to