summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/pszctrl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-10 15:21:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-10 16:37:20 +0200
commit39e91c585d55b99a2b73ed2a58312a387763a4bc (patch)
tree8752da8db5cd2a73d7225a9cd9fccfe72f48627d /svx/source/stbctrls/pszctrl.cxx
parentce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (diff)
Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULT
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
Diffstat (limited to 'svx/source/stbctrls/pszctrl.cxx')
-rw-r--r--svx/source/stbctrls/pszctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 6fc3f922acdd..cd4f6020a21b 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -235,7 +235,7 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
if ( nSID == SID_PSZ_FUNCTION )
{
- if ( eState == SFX_ITEM_AVAILABLE )
+ if ( eState == SFX_ITEM_DEFAULT )
{
pImp->bHasMenu = true;
if ( pState && pState->ISA(SfxUInt16Item) )
@@ -244,7 +244,7 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
else
pImp->bHasMenu = false;
}
- else if ( SFX_ITEM_AVAILABLE != eState )
+ else if ( SFX_ITEM_DEFAULT != eState )
{
// don't switch to empty display before an empty state was
// notified for all display types