summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/fillctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/fillctrl.cxx')
-rw-r--r--svx/source/tbxctrls/fillctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index 5b46ff9d2311..2a5b26a0e3a2 100644
--- a/svx/source/tbxctrls/fillctrl.cxx
+++ b/svx/source/tbxctrls/fillctrl.cxx
@@ -92,7 +92,7 @@ void SvxFillToolBoxControl::StateChanged(
SfxItemState eState,
const SfxPoolItem* pState)
{
- if(eState == SFX_ITEM_DISABLED)
+ if(eState == SfxItemState::DISABLED)
{
// slot disable state
if(nSID == SID_ATTR_FILL_STYLE)
@@ -104,7 +104,7 @@ void SvxFillToolBoxControl::StateChanged(
mpFillAttrLB->Disable();
mpFillAttrLB->SetNoSelection();
}
- else if(SFX_ITEM_DEFAULT == eState)
+ else if(SfxItemState::DEFAULT == eState)
{
bool bEnableControls(false);