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

Caolán McNamara caolanm at redhat.com
Sun Jan 28 17:14:58 UTC 2018


 sw/inc/dbmgr.hxx                |    2 +-
 sw/source/uibase/dbui/dbmgr.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cd4c5e3b2afe767091884d8c1b507d78963e17c4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 28 13:27:18 2018 +0000

    coverity#1417678 Uncaught exception
    
    Change-Id: I93540f308b0ea20358925609f11d0f72a13cbd3f
    Reviewed-on: https://gerrit.libreoffice.org/48789
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 77fa9437150c..555d4dc9079f 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -291,7 +291,7 @@ class SW_DLLPUBLIC SwDBManager
 
 public:
     SwDBManager(SwDoc* pDoc);
-    ~SwDBManager();
+    ~SwDBManager() COVERITY_NOEXCEPT_FALSE;
 
     /// MailMergeEvent source
     const SwXMailMerge *    GetMailMergeEvtSrc() const  { return pMergeEvtSrc; }
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index a9308ee063bc..5d9ccaf0fa13 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -801,7 +801,7 @@ SwDBManager::SwDBManager(SwDoc* pDoc)
 {
 }
 
-SwDBManager::~SwDBManager()
+SwDBManager::~SwDBManager() COVERITY_NOEXCEPT_FALSE
 {
     RevokeLastRegistrations();
 


More information about the Libreoffice-commits mailing list