summaryrefslogtreecommitdiff
path: root/svx/source/mnuctrls/fntctl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/mnuctrls/fntctl.cxx')
-rw-r--r--svx/source/mnuctrls/fntctl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/mnuctrls/fntctl.cxx b/svx/source/mnuctrls/fntctl.cxx
index 8a36eb685a1c..6ef5157b5cbf 100644
--- a/svx/source/mnuctrls/fntctl.cxx
+++ b/svx/source/mnuctrls/fntctl.cxx
@@ -93,9 +93,9 @@ void SvxFontMenuControl::StateChanged(
sal_uInt16, SfxItemState eState, const SfxPoolItem* pState )
{
- rParent.EnableItem( GetId(), SFX_ITEM_DISABLED != eState );
+ rParent.EnableItem( GetId(), SfxItemState::DISABLED != eState );
- if ( SFX_ITEM_DEFAULT == eState )
+ if ( SfxItemState::DEFAULT == eState )
{
if ( !pMenu->GetItemCount() )
FillMenu();