summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-23 16:22:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-23 20:23:40 +0200
commitaf030e8826e6d5fc8fdd2b00b995bb782564cade (patch)
treeef0f9a5432e9eceeef0d0a364181c4454d39f1c3 /sw
parent64e7dfaf6d7c160caa94168b8c98a9996ab055f9 (diff)
coverity#1418338 Uncaught exception
Change-Id: I95248e7171910a8acedeedc092754e812103be2e Reviewed-on: https://gerrit.libreoffice.org/42693 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/txtftn.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 55b3c13dd1e7..67fc9d3b85ee 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -1241,7 +1241,7 @@ public:
const SwTextFootnote *pTextFootnote,
const bool bApplyGivenScriptType,
const SwFontScript nGivenScriptType );
- ~SwFootnoteSave();
+ ~SwFootnoteSave() COVERITY_NOEXCEPT_FALSE;
};
SwFootnoteSave::SwFootnoteSave( const SwTextSizeInfo &rInf,
@@ -1307,7 +1307,7 @@ SwFootnoteSave::SwFootnoteSave( const SwTextSizeInfo &rInf,
pFnt = nullptr;
}
-SwFootnoteSave::~SwFootnoteSave()
+SwFootnoteSave::~SwFootnoteSave() COVERITY_NOEXCEPT_FALSE
{
if( pFnt )
{