sc/source/ui/docshell/docsh.cxx | 2 +- sc/source/ui/inc/IAnyRefDialog.hxx | 2 +- sc/source/ui/inc/docsh.hxx | 2 +- sc/source/ui/inc/viewdata.hxx | 2 +- sc/source/ui/view/output2.cxx | 2 +- sc/source/ui/view/viewdata.cxx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit ef56804105afce4013e8c934f39ce4edc59bcc96 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Nov 29 12:26:46 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Dec 1 00:07:44 2025 +0100 drop some coverity markup Change-Id: I3e233e5e41d7f207837b1723fdb429e66acf1ade Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194836 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index de2c6c164863..db598baae194 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -1833,7 +1833,7 @@ ScDocShell::PrepareSaveGuard::PrepareSaveGuard( ScDocShell& rDocShell ) mrDocShell.SfxObjectShell::SetVisArea( tools::Rectangle() ); // "Normally" worked on => no VisArea. } -ScDocShell::PrepareSaveGuard::~PrepareSaveGuard() COVERITY_NOEXCEPT_FALSE +ScDocShell::PrepareSaveGuard::~PrepareSaveGuard() { if (mrDocShell.m_pDocument->HasExternalRefManager()) { diff --git a/sc/source/ui/inc/IAnyRefDialog.hxx b/sc/source/ui/inc/IAnyRefDialog.hxx index 9db61ff04e32..c49915ca69bd 100644 --- a/sc/source/ui/inc/IAnyRefDialog.hxx +++ b/sc/source/ui/inc/IAnyRefDialog.hxx @@ -32,7 +32,7 @@ class SAL_NO_VTABLE SAL_LOPLUGIN_ANNOTATE("crosscast") IAnyRefDialog : public formula::IControlReferenceHandler { public: - virtual ~IAnyRefDialog() COVERITY_NOEXCEPT_FALSE {} + virtual ~IAnyRefDialog() {} virtual void SetReference(const ScRange& rRef, ScDocument& rDoc) = 0; virtual void RefInputStart(formula::RefEdit* pEdit, formula::RefButton* pButton = nullptr) = 0; diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 622d89fc2d92..bf7666555530 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -123,7 +123,7 @@ class SAL_DLLPUBLIC_RTTI ScDocShell final: public SfxObjectShell, public SfxList { public: explicit PrepareSaveGuard( ScDocShell & rDocShell ); - ~PrepareSaveGuard() COVERITY_NOEXCEPT_FALSE; + ~PrepareSaveGuard(); private: ScDocShell & mrDocShell; }; diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index 6d1e42f7b17f..4bf23dd6d452 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.hxx @@ -359,7 +359,7 @@ private: public: ScViewData( ScDocShell& rDocSh, ScTabViewShell* pViewSh ); ScViewData( ScDocument& rDoc ); - ~ScViewData() COVERITY_NOEXCEPT_FALSE; + ~ScViewData(); ScDocShell* GetDocShell() const { return pDocShell; } ScDocFunc& GetDocFunc() const; diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 72342a0d8387..ce0a481a5c33 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -2961,7 +2961,7 @@ public: } } - ~ClearableClipRegion() COVERITY_NOEXCEPT_FALSE + ~ClearableClipRegion() { // Pop() or SetClipRegion() must only be called in case bClip was true // in the ctor, and only then mpDev is set. diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index c6f9fb0917fe..66b16701b8f8 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -862,7 +862,7 @@ ScViewData::ScViewData(ScDocument* pDoc, ScDocShell* pDocSh, ScTabViewShell* pVi CalcPPT(); } -ScViewData::~ScViewData() COVERITY_NOEXCEPT_FALSE +ScViewData::~ScViewData() { KillEditView(); }
