diff --git a/sc/inc/colcontainer.hxx b/sc/inc/colcontainer.hxx index 13455b5e2c14..896ce5d27959 100644 --- a/sc/inc/colcontainer.hxx +++ b/sc/inc/colcontainer.hxx @@ -31,7 +31,7 @@ public: typedef std::vector>> ScColumnVector; ScColContainer( ScSheetLimits const &, const size_t nSize ); - ~ScColContainer() COVERITY_NOEXCEPT_FALSE; + ~ScColContainer(); const ScColumn& operator[] ( const size_t nIndex ) const { diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 5716d15adcc1..815ee77e158d 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -387,7 +387,7 @@ public: { public: LinkListener(); - virtual ~LinkListener() COVERITY_NOEXCEPT_FALSE = 0; + virtual ~LinkListener() = 0; virtual void notify(sal_uInt16 nFileId, LinkUpdateType eType) = 0; }; diff --git a/sc/qa/unit/helper/sorthelper.hxx b/sc/qa/unit/helper/sorthelper.hxx index dc337953fb97..dcf8fcfe4099 100644 --- a/sc/qa/unit/helper/sorthelper.hxx +++ b/sc/qa/unit/helper/sorthelper.hxx @@ -33,7 +33,7 @@ public: mod->SetInputOptions(aInputOptions); return bRet; } - virtual ~SortTypeSetter() COVERITY_NOEXCEPT_FALSE + virtual ~SortTypeSetter() { changeTo(mbSortRefUpdate); } diff --git a/sc/source/core/data/colcontainer.cxx b/sc/source/core/data/colcontainer.cxx index a0a9d845772f..6a160c778b39 100644 --- a/sc/source/core/data/colcontainer.cxx +++ b/sc/source/core/data/colcontainer.cxx @@ -28,7 +28,7 @@ ScColContainer::ScColContainer( ScSheetLimits const & rSheetLimits, const size_t aCols[nCol].reset( new ScColumn(rSheetLimits) ); } -ScColContainer::~ScColContainer() COVERITY_NOEXCEPT_FALSE +ScColContainer::~ScColContainer() { Clear(); } diff --git a/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx b/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx index a582ffa72e55..f613328b4e93 100644 --- a/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx +++ b/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx @@ -37,7 +37,7 @@ namespace sd class SdGlobalResource { public: - virtual ~SdGlobalResource() COVERITY_NOEXCEPT_FALSE{}; + virtual ~SdGlobalResource() {} }; /** The purpose of this container is to hold references to resources that diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index a86911f34e9b..c242811da496 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -127,7 +127,7 @@ namespace sw WriterListener() : m_pLeft(nullptr), m_pRight(nullptr) {} - virtual ~WriterListener() COVERITY_NOEXCEPT_FALSE {} + virtual ~WriterListener() {} virtual void SwClientNotify( const SwModify&, const SfxHint& rHint) =0; public: bool IsLast() const { return !m_pLeft && !m_pRight; }