[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Sat Sep 23 18:24:18 UTC 2017


 sw/source/core/text/txtftn.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit af030e8826e6d5fc8fdd2b00b995bb782564cade
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Sep 23 16:22:47 2017 +0100

    coverity#1418338 Uncaught exception
    
    Change-Id: I95248e7171910a8acedeedc092754e812103be2e
    Reviewed-on: https://gerrit.libreoffice.org/42693
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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 )
     {


More information about the Libreoffice-commits mailing list