[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Tue Nov 21 09:09:52 UTC 2017


 sw/source/core/txtnode/thints.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db710380e3a83f7bed449dc2d6737444c8a9522d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Nov 21 09:08:41 2017 +0000

    coverity#1422233 Unchecked return value
    
    Change-Id: I85699e57b5e59231d9568db8a56244f41f5359aa

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() );


More information about the Libreoffice-commits mailing list