sw/inc/unochart.hxx | 2 +- sw/source/core/inc/DocumentChartDataProviderManager.hxx | 2 +- sw/source/core/unocore/unochart.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit ec4b6f6b9984f7d6ed50ccb7799a592c593d32c4 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Nov 13 21:09:17 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Nov 14 15:54:38 2021 +0100 remove an ugly coverity warning suppression Change-Id: I243638e242f68d61b639d4afbcb5d65575cc46e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125172 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index f17f832600b0..49f8a295dfe1 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -84,7 +84,7 @@ class SwChartLockController_Helper public: SwChartLockController_Helper( SwDoc *pDocument ); - ~SwChartLockController_Helper() COVERITY_NOEXCEPT_FALSE; + ~SwChartLockController_Helper(); void StartOrContinueLocking(); void Disconnect(); diff --git a/sw/source/core/inc/DocumentChartDataProviderManager.hxx b/sw/source/core/inc/DocumentChartDataProviderManager.hxx index 49282bacc634..f5ed19a143ec 100644 --- a/sw/source/core/inc/DocumentChartDataProviderManager.hxx +++ b/sw/source/core/inc/DocumentChartDataProviderManager.hxx @@ -56,7 +56,7 @@ private: SwDoc& m_rDoc; mutable rtl::Reference<SwChartDataProvider> maChartDataProviderImplRef; - std::unique_ptr<SwChartLockController_Helper, o3tl::default_delete<SwChartLockController_Helper>> mpChartControllerHelper; + std::unique_ptr<SwChartLockController_Helper> mpChartControllerHelper; }; } diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 21120d788f97..44d1f19e9dcf 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -90,7 +90,7 @@ SwChartLockController_Helper::SwChartLockController_Helper( SwDoc *pDocument ) : m_aUnlockTimer.SetInvokeHandler( LINK( this, SwChartLockController_Helper, DoUnlockAllCharts )); } -SwChartLockController_Helper::~SwChartLockController_Helper() COVERITY_NOEXCEPT_FALSE +SwChartLockController_Helper::~SwChartLockController_Helper() { if (m_pDoc) // still connected? Disconnect();