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 /vcl/source/window/debugevent.cxx | |
parent | bb0039fdca8eff5ca603e333a23c3a7736b32cb2 (diff) |
fdo#84938: replace MENUITEM constants with enum
Change-Id: I7b0085af3b13bd6e1a50bf1e0e986d1524b52d7b
Diffstat (limited to 'vcl/source/window/debugevent.cxx')
-rw-r--r-- | vcl/source/window/debugevent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/debugevent.cxx b/vcl/source/window/debugevent.cxx index b2b755303763..65a117223f21 100644 --- a/vcl/source/window/debugevent.cxx +++ b/vcl/source/window/debugevent.cxx @@ -68,7 +68,7 @@ static void CollectMenuItemIds( Menu *pMenu, MenuItemIds &rIds ) sal_uInt16 nItems = pMenu->GetItemCount(); for (sal_uInt16 i = 0; i < nItems; i++) { - if (pMenu->GetItemType( i ) != MENUITEM_SEPARATOR || getRandom() < 0.01) + if (pMenu->GetItemType( i ) != MenuItemType::SEPARATOR || getRandom() < 0.01) rIds.push_back( SalMenuEvent( pMenu->GetItemId( i ), pMenu ) ); PopupMenu *pPopup = pMenu->GetPopupMenu( i ); if (pPopup) |