diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-06-18 12:41:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-06-18 15:19:12 +0200 |
commit | 8831ef2d478c4c66d37087e5ce2c97bb0379d37f (patch) | |
tree | 1cd1275cf4a28b9a43c72621026827febce4c6fd /sc | |
parent | f8e07bd8acb9e0866a1e646b9276c51450c0ab84 (diff) |
cid#1506304 Uncaught exception
Change-Id: Ib4bc9b08982b1fe2f5130ef4e56489f366c01081
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136078
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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() |