summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-21 09:08:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-21 09:09:03 +0000
commitdb710380e3a83f7bed449dc2d6737444c8a9522d (patch)
tree30969a80efd644c0bc40b0cf8303ca677282adca /sw/source/core
parent3fa3962f845e21d1a119875be5094afbd85e521b (diff)
coverity#1422233 Unchecked return value
Change-Id: I85699e57b5e59231d9568db8a56244f41f5359aa
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/txtnode/thints.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index aa360444fe2b..98addf34991a 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1289,7 +1289,7 @@ bool SwTextNode::InsertHint( SwTextAttr * const pAttr, const SetAttrMode nMode )
// fix it after inserting the char, so that clients don't
// have to worry about it.
const SwFormatAnchor* pAnchor = nullptr;
- pFormat->GetItemState( RES_ANCHOR, false,
+ (void)pFormat->GetItemState( RES_ANCHOR, false,
reinterpret_cast<const SfxPoolItem**>(&pAnchor) );
SwIndex aIdx( this, pAttr->GetStart() );