[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jun 27 16:43:52 UTC 2021
svx/source/inc/cell.hxx | 2 +-
svx/source/table/cell.cxx | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 9d8e88aaa20ad3d184e06cd8d4f875ecdfeda61e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jun 27 16:47:56 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jun 27 18:43:20 2021 +0200
cid#1486528 silence Uncaught exception
Change-Id: I03b71a11dda7b818a99525d65cbbc42f40dd2eee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117949
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/inc/cell.hxx b/svx/source/inc/cell.hxx
index e612e40818a4..9522e006850b 100644
--- a/svx/source/inc/cell.hxx
+++ b/svx/source/inc/cell.hxx
@@ -189,7 +189,7 @@ private:
/// @throws css::uno::RuntimeException
SVX_DLLPRIVATE Cell( SdrTableObj& rTableObj );
- SVX_DLLPRIVATE virtual ~Cell() noexcept override;
+ SVX_DLLPRIVATE virtual ~Cell() COVERITY_NOEXCEPT_FALSE override;
Cell(Cell const &) = delete;
void operator =(Cell const &) = delete;
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index eafaea0a1fa7..9b025032525d 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -422,13 +422,11 @@ Cell::Cell(
}
}
-
-Cell::~Cell() noexcept
+Cell::~Cell() COVERITY_NOEXCEPT_FALSE
{
dispose();
}
-
void Cell::dispose()
{
if( mxTable.is() )
More information about the Libreoffice-commits
mailing list