summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/zoomctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/zoomctrl.cxx')
-rw-r--r--sw/source/uibase/utlui/zoomctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/zoomctrl.cxx b/sw/source/uibase/utlui/zoomctrl.cxx
index ac592474eb80..3c7fbc81cb10 100644
--- a/sw/source/uibase/utlui/zoomctrl.cxx
+++ b/sw/source/uibase/utlui/zoomctrl.cxx
@@ -43,7 +43,7 @@ SwZoomControl::~SwZoomControl()
void SwZoomControl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState )
{
- if(SFX_ITEM_AVAILABLE == eState && pState->ISA( SfxStringItem ))
+ if(SFX_ITEM_DEFAULT == eState && pState->ISA( SfxStringItem ))
{
sPreviewZoom = ((const SfxStringItem*)pState)->GetValue();
GetStatusBar().SetItemText( GetId(), sPreviewZoom );