diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-01 08:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-01 11:06:26 +0200 |
commit | 612b489d3e05b24c1b6690082e8518bac033e9d2 (patch) | |
tree | 23a6c556989071385d1c64730ed72bdbae7c239c /oox/source/ole/axcontrol.cxx | |
parent | writerprefect: run astyle (diff) | |
download | core-612b489d3e05b24c1b6690082e8518bac033e9d2.tar.gz core-612b489d3e05b24c1b6690082e8518bac033e9d2.zip |
loplugin:checkunusedparams
the "check for taking address of function" part was generating false+
Change-Id: Iad6203850901229b7b1b2f8938c68ec703cd343f
Reviewed-on: https://gerrit.libreoffice.org/40613
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ole/axcontrol.cxx')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index 789259210109..a59beb631475 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -524,7 +524,7 @@ void ControlConverter::convertAxState( PropertyMap& rPropMap, } void ControlConverter::convertToAxState( PropertySet const & rPropSet, - OUString& rValue, sal_Int32& nMultiSelect, ApiDefaultStateMode eDefStateMode, bool /*bAwtModel*/ ) + OUString& rValue, sal_Int32& nMultiSelect, ApiDefaultStateMode eDefStateMode ) { bool bSupportsTriState = eDefStateMode == API_DEFAULTSTATE_TRISTATE; @@ -561,7 +561,7 @@ void ControlConverter::convertAxOrientation( PropertyMap& rPropMap, } void ControlConverter::convertToAxOrientation( PropertySet const & rPropSet, - const AxPairData& /*rSize*/, sal_Int32& nOrientation ) + sal_Int32& nOrientation ) { bool bHorizontal = true; convertToMSOrientation( rPropSet, bHorizontal ); @@ -1576,7 +1576,7 @@ void AxToggleButtonModel::convertFromProperties( PropertySet& rPropSet, const Co ControlConverter::convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); // need to process the image if one exists - ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN, mbAwtModel ); + ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN ); AxMorphDataModelBase::convertFromProperties( rPropSet, rConv ); } @@ -1651,7 +1651,7 @@ void AxCheckBoxModel::convertFromProperties( PropertySet& rPropSet, const Contro ControlConverter::convertToAxVisualEffect( rPropSet, mnSpecialEffect ); ControlConverter::convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); // need to process the image if one exists - ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN, mbAwtModel ); + ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN ); AxMorphDataModelBase::convertFromProperties( rPropSet, rConv ); } @@ -1713,7 +1713,7 @@ void AxOptionButtonModel::convertFromProperties( PropertySet& rPropSet, const Co ControlConverter::convertToAxVisualEffect( rPropSet, mnSpecialEffect ); ControlConverter::convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); // need to process the image if one exists - ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN, mbAwtModel ); + ControlConverter::convertToAxState( rPropSet, maValue, mnMultiSelect, API_DEFAULTSTATE_BOOLEAN ); AxMorphDataModelBase::convertFromProperties( rPropSet, rConv ); } @@ -2135,7 +2135,7 @@ void AxSpinButtonModel::convertFromProperties( PropertySet& rPropSet, const Cont ControlConverter::convertToMSColor( rPropSet, PROP_SymbolColor, mnArrowColor); ControlConverter::convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); - ControlConverter::convertToAxOrientation( rPropSet, maSize, mnOrientation ); + ControlConverter::convertToAxOrientation( rPropSet, mnOrientation ); } void AxSpinButtonModel::exportCompObj( BinaryOutputStream& rOutStream ) @@ -2306,7 +2306,7 @@ void AxScrollBarModel::convertFromProperties( PropertySet& rPropSet, const Contr mnPropThumb = AX_PROPTHUMB_ON; // default ControlConverter::convertToMSColor( rPropSet, PROP_SymbolColor, mnArrowColor); ControlConverter::convertToMSColor( rPropSet, PROP_BackgroundColor, mnBackColor ); - ControlConverter::convertToAxOrientation( rPropSet, maSize, mnOrientation ); + ControlConverter::convertToAxOrientation( rPropSet, mnOrientation ); rPropSet.getProperty( mnMin, PROP_ScrollValueMin ); rPropSet.getProperty( mnMax, PROP_ScrollValueMax ); |