coverity#1422233 Unchecked return value

Change-Id: I85699e57b5e59231d9568db8a56244f41f5359aa
This commit is contained in:
Caolán McNamara
2017-11-21 09:09:03 +00:00
parent 3fa3962f84
commit db710380e3
+1 -1
View File
@@ -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() );