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

Caolán McNamara caolanm at redhat.com
Tue Sep 12 08:52:14 UTC 2017


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

New commits:
commit d317c4e0507c9251060b3ceb399378472d354613
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Sep 12 09:36:00 2017 +0100

    coverity#1417678 Uncaught exception
    
    Change-Id: I99b479d8fd8d8e9d075f4a9da01c60d9c38cb472

diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 0d27b355253d..b0da6613add0 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -285,7 +285,7 @@ class SW_DLLPUBLIC SwDBManager
 
 public:
     SwDBManager(SwDoc* pDoc);
-    ~SwDBManager();
+    ~SwDBManager() COVERITY_NOEXCEPT_FALSE;
 
     enum DBConnURITypes {
         DBCONN_UNKNOWN = 0,
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 0004fbd9e456..3737f9e0432c 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -802,7 +802,7 @@ SwDBManager::SwDBManager(SwDoc* pDoc)
 {
 }
 
-SwDBManager::~SwDBManager()
+SwDBManager::~SwDBManager() COVERITY_NOEXCEPT_FALSE
 {
     RevokeLastRegistrations();
 


More information about the Libreoffice-commits mailing list