summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/tmplctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/tmplctrl.cxx')
-rw-r--r--sw/source/uibase/utlui/tmplctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/tmplctrl.cxx b/sw/source/uibase/utlui/tmplctrl.cxx
index 1a6574ff4334..29a3f0c0283d 100644
--- a/sw/source/uibase/utlui/tmplctrl.cxx
+++ b/sw/source/uibase/utlui/tmplctrl.cxx
@@ -72,7 +72,7 @@ SwTemplateControl::~SwTemplateControl()
void SwTemplateControl::StateChanged(
sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState )
{
- if( eState != SFX_ITEM_DEFAULT || pState->ISA( SfxVoidItem ) )
+ if( eState != SfxItemState::DEFAULT || pState->ISA( SfxVoidItem ) )
GetStatusBar().SetItemText( GetId(), OUString() );
else if ( pState->ISA( SfxStringItem ) )
{