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 <caol...@redhat.com> AuthorDate: Fri Feb 5 09:32:07 2021 +0000 Commit: Caolán McNamara <caol...@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 <caol...@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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits