summaryrefslogtreecommitdiff
path: root/sfx2/source/menu/mnuitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/menu/mnuitem.cxx')
-rw-r--r--sfx2/source/menu/mnuitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index eb4cf2575ac6..69799c96c55e 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -178,9 +178,9 @@ void SfxMenuControl::StateChanged
#endif
pOwnMenu->EnableItem( GetId(), bIsObjMenu
? 0 != pOwnMenu->GetSVMenu()->GetPopupMenu( GetId() )
- : eState != SFX_ITEM_DISABLED );
+ : eState != SfxItemState::DISABLED );
- if ( eState != SFX_ITEM_DEFAULT )
+ if ( eState != SfxItemState::DEFAULT )
{
// check only for non-Object Menus
if ( !bIsObjMenu )