summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-27 16:47:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-27 18:43:20 +0200
commit9d8e88aaa20ad3d184e06cd8d4f875ecdfeda61e (patch)
tree99b0237f90f98dabc1641234bed55e75b5fc31a0 /svx
parent642791720622618c9b66633c3e1224a4d340b167 (diff)
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@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/inc/cell.hxx2
-rw-r--r--svx/source/table/cell.cxx4
2 files changed, 2 insertions, 4 deletions
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() )