diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 12:45:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 15:06:35 +0000 |
commit | 2eab2dac4ec1855356c79a42a0e9de737f51905f (patch) | |
tree | 70ee8529554c8968d08e1f309a685fea8a2fe983 /oox | |
parent | f338acb77c2823d5c1eb0499aa2b150a7b453ed6 (diff) |
coverity#735309 Unchecked return value
Change-Id: I15cbfb15054962998a058da1381a84bb667944ef
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index d4426c08c897..cb9e7d25b859 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -1057,13 +1057,13 @@ void AxCommandButtonModel::convertProperties( PropertyMap& rPropMap, const Contr void AxCommandButtonModel::convertFromProperties( PropertySet& rPropSet, const ControlConverter& rConv ) { - rPropSet.getProperty( maCaption, PROP_Label ); + (void)rPropSet.getProperty(maCaption, PROP_Label); bool bRes = false; if ( rPropSet.getProperty( bRes, PROP_Enabled ) ) setFlag( mnFlags, AX_FLAGS_ENABLED, bRes ); if ( rPropSet.getProperty( bRes, PROP_MultiLine ) ) setFlag( mnFlags, AX_FLAGS_WORDWRAP, bRes ); - rPropSet.getProperty( mbFocusOnClick, PROP_FocusOnClick ); + (void)rPropSet.getProperty(mbFocusOnClick, PROP_FocusOnClick); rConv.convertToMSColor( rPropSet, PROP_TextColor, mnTextColor ); rConv.convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); |