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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 5 11:48:34 UTC 2021


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

New commits:
commit cb4ba42fbf421a17a8ba0e32ef09add928f2b694
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Feb 5 09:32:07 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Feb 5 12:47:51 2021 +0100

    cid#1472781 silence Uncaught exception
    
    Change-Id: I898e6f2778b0db2850e051b0603ec9305f875477
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110460
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index 39060d62501b..9603ce4f4440 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -180,7 +180,7 @@ private:
     bool m_bOrigPurgeOle;
 public:
     PurgeGuard(const SwDoc& rDoc);
-    ~PurgeGuard();
+    ~PurgeGuard() COVERITY_NOEXCEPT_FALSE;
 };
 
 #endif  // _ INCLUDED_SW_INC_NDOLE_HXX
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index ee05b9a2779b..3fb56edbd3ad 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -989,7 +989,7 @@ PurgeGuard::PurgeGuard(const SwDoc& rDoc)
     m_rManager.set(DocumentSettingId::PURGE_OLE, false);
 }
 
-PurgeGuard::~PurgeGuard()
+PurgeGuard::~PurgeGuard() COVERITY_NOEXCEPT_FALSE
 {
     m_rManager.set(DocumentSettingId::PURGE_OLE, m_bOrigPurgeOle);
 }


More information about the Libreoffice-commits mailing list