summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-04 09:08:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-04 13:14:41 +0200
commit96654770b311825226c122cf60a624f0f155a3a2 (patch)
tree417cb33bd4dfef6b10dc2ea77c9874f8be8af2b8 /sw/source
parent9e694c747954078442d47d3d7bd1d4db283b96ff (diff)
coverity#1399392 Uncaught exception
Change-Id: Ic9eb2233d4e88ed9923bdabcf09b2a92ad24c0bf Reviewed-on: https://gerrit.libreoffice.org/41880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/list.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/list.cxx b/sw/source/core/doc/list.cxx
index 753965a799ce..711ebbfd1804 100644
--- a/sw/source/core/doc/list.cxx
+++ b/sw/source/core/doc/list.cxx
@@ -33,7 +33,7 @@ class SwListImpl
SwListImpl( const OUString& sListId,
SwNumRule& rDefaultListStyle,
const SwNodes& rNodes );
- ~SwListImpl();
+ ~SwListImpl() COVERITY_NOEXCEPT_FALSE;
const OUString& GetListId() const { return msListId;}
@@ -96,7 +96,7 @@ SwListImpl::SwListImpl( const OUString& sListId,
while ( pNode != &rNodes.GetEndOfContent() );
}
-SwListImpl::~SwListImpl()
+SwListImpl::~SwListImpl() COVERITY_NOEXCEPT_FALSE
{
tListTrees::iterator aNumberTreeIter;
for ( aNumberTreeIter = maListTrees.begin();