[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Nov 2 19:48:36 UTC 2019
include/sfx2/request.hxx | 2 +-
sfx2/source/control/request.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7ec6f9644144316c653b112822011c9065e16ebc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 2 15:15:08 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Nov 2 20:47:39 2019 +0100
cid#1455212 Uncaught exception
Change-Id: I21e39dbaaec6c74b1c7ae1f306cb8d5c3d32c174
Reviewed-on: https://gerrit.libreoffice.org/81938
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index 90058a5b1f7f..3dde592b244e 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -64,7 +64,7 @@ public:
SfxRequest(sal_uInt16 nSlot, SfxCallMode nCallMode, const SfxAllItemSet& rSfxArgs);
SfxRequest( sal_uInt16 nSlot, SfxCallMode nCallMode, const SfxAllItemSet& rSfxArgs, const SfxAllItemSet& rSfxInternalArgs );
SfxRequest( const SfxRequest& rOrig );
- virtual ~SfxRequest() override;
+ virtual ~SfxRequest() COVERITY_NOEXCEPT_FALSE override;
sal_uInt16 GetSlot() const { return nSlot; }
void SetSlot(sal_uInt16 nNewSlot) { nSlot = nNewSlot; }
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index fcdb5c036f32..e9aced895cc3 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -118,7 +118,7 @@ void SfxRequest_Impl::SetPool( SfxItemPool *pNewPool )
}
-SfxRequest::~SfxRequest()
+SfxRequest::~SfxRequest() COVERITY_NOEXCEPT_FALSE
{
// Leave out Done() marked requests with 'rem'
if ( pImpl->xRecorder.is() && !pImpl->bDone && !pImpl->bIgnored )
More information about the Libreoffice-commits
mailing list