summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-02 15:15:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-02 20:47:39 +0100
commit7ec6f9644144316c653b112822011c9065e16ebc (patch)
treeabe642910a0ec75ba211b76f447ebb302dbf3472
parent5bf7bedd45b0eaabec7dfd042a308304785ca0a4 (diff)
cid#1455212 Uncaught exception
Change-Id: I21e39dbaaec6c74b1c7ae1f306cb8d5c3d32c174 Reviewed-on: https://gerrit.libreoffice.org/81938 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/sfx2/request.hxx2
-rw-r--r--sfx2/source/control/request.cxx2
2 files changed, 2 insertions, 2 deletions
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 )