diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 08:39:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:55:35 +0200 |
commit | 035fe8a6aa6489740a7c9f4e1768452319a686d3 (patch) | |
tree | 0d0341d222b24cfa59d4b79c9420a9e116cc6a78 /sfx2/source/appl | |
parent | bb0039fdca8eff5ca603e333a23c3a7736b32cb2 (diff) |
fdo#84938: replace MENUITEM constants with enum
Change-Id: I7b0085af3b13bd6e1a50bf1e0e986d1524b52d7b
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/sfxpicklist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx index c36ebc45adbc..0a6959f80dc9 100644 --- a/sfx2/source/appl/sfxpicklist.cxx +++ b/sfx2/source/appl/sfxpicklist.cxx @@ -309,12 +309,12 @@ void SfxPickList::CreateMenuEntries( Menu* pMenu ) for ( sal_uInt16 nId = START_ITEMID_PICKLIST; nId <= END_ITEMID_PICKLIST; ++nId ) pMenu->RemoveItem( pMenu->GetItemPos( nId ) ); - if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) + if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MenuItemType::SEPARATOR ) pMenu->RemoveItem( pMenu->GetItemCount()-1 ); if ( m_aPicklistVector.size() > 0 && pMenu->GetItemType( pMenu->GetItemCount()-1 ) - != MENUITEM_SEPARATOR && m_nAllowedMenuSize ) + != MenuItemType::SEPARATOR && m_nAllowedMenuSize ) pMenu->InsertSeparator(); OUString aEmptyString; |