diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-17 13:37:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-17 13:57:05 +0100 |
commit | 7bfee546dcd199c0325ec7c7edd5799ce0df79cf (patch) | |
tree | fb16ece5b9c49c703394603a11e7ae900af37051 /oox/source/ole/olehelper.cxx | |
parent | Related: rhbz#1117853 nStartPara of EE_PARA_NOT_FOUND (diff) | |
download | core-7bfee546dcd199c0325ec7c7edd5799ce0df79cf.tar.gz core-7bfee546dcd199c0325ec7c7edd5799ce0df79cf.zip |
coverity#735310 Unchecked return value
Change-Id: I1a35da4b23b9ff8efa8f500eaf18e4c259cc0177
Diffstat (limited to 'oox/source/ole/olehelper.cxx')
-rw-r--r-- | oox/source/ole/olehelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 420a80dc4158..1be5d6f24116 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -397,8 +397,7 @@ OleFormCtrlExportHelper::OleFormCtrlExportHelper( const Reference< XComponentCo else if ( nClassId == FormComponentType::COMMANDBUTTON ) { bool bToggle = false; - aPropSet.getProperty( bToggle, PROP_Toggle ); - if ( bToggle ) + if ( aPropSet.getProperty( bToggle, PROP_Toggle ) && bToggle ) nClassId = TOGGLEBUTTON; } else if ( nClassId == FormComponentType::CONTROL ) |