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

Caolán McNamara caolanm at redhat.com
Thu Nov 16 08:58:38 UTC 2017


 sw/inc/txatbase.hxx                 |    2 +-
 sw/source/core/txtnode/txatbase.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5f9dd5914b5733ea405475ffe0447a3f3f2af327
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 15 17:23:10 2017 +0000

    silence coverity#1399176 Uncaught exception
    
    and probably a bunch of others
    
    Change-Id: If4556e8914c770456f9de729426c52d5e27cb691
    Reviewed-on: https://gerrit.libreoffice.org/44777
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx
index 9f13ea100d15..865fbe539a29 100644
--- a/sw/inc/txatbase.hxx
+++ b/sw/inc/txatbase.hxx
@@ -61,7 +61,7 @@ private:
 
 protected:
     SwTextAttr( SfxPoolItem& rAttr, sal_Int32 nStart );
-    virtual ~SwTextAttr();
+    virtual ~SwTextAttr() COVERITY_NOEXCEPT_FALSE;
 
     void SetLockExpandFlag( bool bFlag )    { m_bLockExpandFlag = bFlag; }
     void SetDontMoveAttr( bool bFlag )      { m_bDontMoveAttr = bFlag; }
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index 41179576cadf..5c53ba78faca 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -42,7 +42,7 @@ SwTextAttr::SwTextAttr( SfxPoolItem& rAttr, sal_Int32 nStart )
 {
 }
 
-SwTextAttr::~SwTextAttr( )
+SwTextAttr::~SwTextAttr() COVERITY_NOEXCEPT_FALSE
 {
 }
 


More information about the Libreoffice-commits mailing list