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