diff options
author | Noel Power <noel.power@suse.com> | 2013-06-12 18:50:22 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-12 18:53:19 +0100 |
commit | fecd316a966f08d095c1514f8de0924749a5b8da (patch) | |
tree | 65328c9d85297905dc582c801448e0eb1eb82c35 /oox | |
parent | d70f6df911b5ec153733201cadcd077256c82980 (diff) |
typo correction AX_SELCTION_xxx -> AX_SELECTION_xxx
petty correct of AX_SELCTION_xxx -> AX_SELECTION_xxx but it
was irritating me
Change-Id: Iae7a0151a63502aa89f04ae54fe7348548ffd32c
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index 47d21d59950e..eca6d70958e0 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -541,7 +541,7 @@ void ControlConverter::convertAxState( PropertyMap& rPropMap, // tristate if( bSupportsTriState ) - rPropMap.setProperty( PROP_TriState, nMultiSelect == AX_SELCTION_MULTI ); + rPropMap.setProperty( PROP_TriState, nMultiSelect == AX_SELECTION_MULTI ); } void ControlConverter::convertToAxState( PropertySet& rPropSet, @@ -564,7 +564,7 @@ void ControlConverter::convertToAxState( PropertySet& rPropSet, // tristate if( bSupportsTriState && rPropSet.getProperty( bTmp, PROP_TriState ) ) - nMultiSelect = AX_SELCTION_MULTI; + nMultiSelect = AX_SELECTION_MULTI; } void ControlConverter::convertAxOrientation( PropertyMap& rPropMap, @@ -1408,7 +1408,7 @@ AxMorphDataModelBase::AxMorphDataModelBase() : mnBorderStyle( AX_BORDERSTYLE_NONE ), mnSpecialEffect( AX_SPECIALEFFECT_SUNKEN ), mnDisplayStyle( AX_DISPLAYSTYLE_TEXT ), - mnMultiSelect( AX_SELCTION_SINGLE ), + mnMultiSelect( AX_SELECTION_SINGLE ), mnScrollBars( AX_SCROLLBAR_NONE ), mnMatchEntry( AX_MATCHENTRY_NONE ), mnShowDropButton( AX_SHOWDROPBUTTON_NEVER ), @@ -1535,7 +1535,7 @@ void AxMorphDataModelBase::exportBinaryModel( BinaryOutputStream& rOutStrm ) aWriter.skipProperty(); // mnShowDropButton ); aWriter.skipProperty(); aWriter.skipProperty(); // drop down style - if ( mnDisplayStyle == AX_DISPLAYSTYLE_LISTBOX && mnMultiSelect != AX_SELCTION_SINGLE ) + if ( mnDisplayStyle == AX_DISPLAYSTYLE_LISTBOX && mnMultiSelect != AX_SELECTION_SINGLE ) aWriter.writeIntProperty< sal_uInt8 >( mnMultiSelect ); // although CheckBox, ListBox, OptionButton, ToggleButton are also supported // they can only have the fileformat default @@ -1924,7 +1924,7 @@ ApiControlType AxListBoxModel::getControlType() const void AxListBoxModel::convertProperties( PropertyMap& rPropMap, const ControlConverter& rConv ) const { - bool bMultiSelect = (mnMultiSelect == AX_SELCTION_MULTI) || (mnMultiSelect == AX_SELCTION_EXTENDED); + bool bMultiSelect = (mnMultiSelect == AX_SELECTION_MULTI) || (mnMultiSelect == AX_SELECTION_EXTENDED); rPropMap.setProperty( PROP_MultiSelection, bMultiSelect ); rPropMap.setProperty( PROP_Dropdown, false ); rConv.convertAxBackground( rPropMap, mnBackColor, mnFlags, API_TRANSPARENCY_VOID ); |