summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ControllerItem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/ControllerItem.cxx')
-rw-r--r--sfx2/source/sidebar/ControllerItem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx
index bf817cd69563..a0de0e3ebae3 100644
--- a/sfx2/source/sidebar/ControllerItem.cxx
+++ b/sfx2/source/sidebar/ControllerItem.cxx
@@ -141,7 +141,7 @@ void ControllerItem::StateChanged (
bool ControllerItem::IsEnabled (SfxItemState eState) const
{
- if (eState == SFX_ITEM_DISABLED)
+ if (eState == SfxItemState::DISABLED)
return false;
else if ( ! SvtCommandOptions().HasEntries(SvtCommandOptions::CMDOPTION_DISABLED))
{