diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-15 17:23:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-16 09:58:17 +0100 |
commit | 5f9dd5914b5733ea405475ffe0447a3f3f2af327 (patch) | |
tree | 26e8715e85da9a3c391c83c6cc567be87fe24f3e | |
parent | 7719c53b2b57f517b5fd879358c5c5c6dfca35a7 (diff) |
silence coverity#1399176 Uncaught exception
and probably a bunch of others
Change-Id: If4556e8914c770456f9de729426c52d5e27cb691
Reviewed-on: https://gerrit.libreoffice.org/44777
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/inc/txatbase.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/txtnode/txatbase.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 9f13ea100d15..865fbe539a29 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -61,7 +61,7 @@ private: protected: SwTextAttr( SfxPoolItem& rAttr, sal_Int32 nStart ); - virtual ~SwTextAttr(); + virtual ~SwTextAttr() COVERITY_NOEXCEPT_FALSE; void SetLockExpandFlag( bool bFlag ) { m_bLockExpandFlag = bFlag; } void SetDontMoveAttr( bool bFlag ) { m_bDontMoveAttr = bFlag; } diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx index 41179576cadf..5c53ba78faca 100644 --- a/sw/source/core/txtnode/txatbase.cxx +++ b/sw/source/core/txtnode/txatbase.cxx @@ -42,7 +42,7 @@ SwTextAttr::SwTextAttr( SfxPoolItem& rAttr, sal_Int32 nStart ) { } -SwTextAttr::~SwTextAttr( ) +SwTextAttr::~SwTextAttr() COVERITY_NOEXCEPT_FALSE { } |