summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-28 12:45:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-28 15:06:35 +0000
commit2eab2dac4ec1855356c79a42a0e9de737f51905f (patch)
tree70ee8529554c8968d08e1f309a685fea8a2fe983 /oox
parentf338acb77c2823d5c1eb0499aa2b150a7b453ed6 (diff)
coverity#735309 Unchecked return value
Change-Id: I15cbfb15054962998a058da1381a84bb667944ef
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ole/axcontrol.cxx4
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 );