sc/source/core/tool/scmatrix.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8831ef2d478c4c66d37087e5ce2c97bb0379d37f
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Jun 18 12:41:31 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Jun 18 15:19:12 2022 +0200

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

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index cb04dd31570e..9f6331dd85ad 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -238,7 +238,7 @@ public:
 
     ScMatrixImpl( size_t nC, size_t nR, const std::vector<double>& rInitVals );
 
-    ~ScMatrixImpl() COVERITY_NOEXCEPT_FALSE;
+    ~ScMatrixImpl();
 
     void Clear();
     void Resize(SCSIZE nC, SCSIZE nR);
@@ -390,10 +390,10 @@ ScMatrixImpl::ScMatrixImpl( size_t nC, size_t nR, const 
std::vector<double>& rIn
     nElementsMax -= GetElementCount();
 }
 
-ScMatrixImpl::~ScMatrixImpl() COVERITY_NOEXCEPT_FALSE
+ScMatrixImpl::~ScMatrixImpl()
 {
     nElementsMax += GetElementCount();
-    Clear();
+    suppress_fun_call_w_exception(Clear());
 }
 
 void ScMatrixImpl::Clear()

Reply via email to