summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/ndole.hxx2
-rw-r--r--sw/source/core/ole/ndole.cxx2
2 files changed, 2 insertions, 2 deletions
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);
}