summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PagePropertyPanel.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 /sw/source/uibase/sidebar/PagePropertyPanel.cxx
parentce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (diff)
Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULT
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
Diffstat (limited to 'sw/source/uibase/sidebar/PagePropertyPanel.cxx')
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/sidebar/PagePropertyPanel.cxx b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
index f065af29f433..2db942542b5c 100644
--- a/sw/source/uibase/sidebar/PagePropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
@@ -464,7 +464,7 @@ void PagePropertyPanel::NotifyItemUpdate(
{
case SID_ATTR_PAGE_COLUMN:
{
- if ( eState >= SFX_ITEM_AVAILABLE &&
+ if ( eState >= SFX_ITEM_DEFAULT &&
pState && pState->ISA(SfxInt16Item) )
{
mpPageColumnTypeItem.reset( static_cast<SfxInt16Item*>(pState->Clone()) );
@@ -473,7 +473,7 @@ void PagePropertyPanel::NotifyItemUpdate(
}
break;
case SID_ATTR_PAGE_LRSPACE:
- if ( eState >= SFX_ITEM_AVAILABLE &&
+ if ( eState >= SFX_ITEM_DEFAULT &&
pState && pState->ISA(SvxLongLRSpaceItem) )
{
mpPageLRMarginItem.reset( static_cast<SvxLongLRSpaceItem*>(pState->Clone()) );
@@ -482,7 +482,7 @@ void PagePropertyPanel::NotifyItemUpdate(
break;
case SID_ATTR_PAGE_ULSPACE:
- if ( eState >= SFX_ITEM_AVAILABLE &&
+ if ( eState >= SFX_ITEM_DEFAULT &&
pState && pState->ISA(SvxLongULSpaceItem) )
{
mpPageULMarginItem.reset( static_cast<SvxLongULSpaceItem*>(pState->Clone()) );
@@ -491,7 +491,7 @@ void PagePropertyPanel::NotifyItemUpdate(
break;
case SID_ATTR_PAGE:
- if ( eState >= SFX_ITEM_AVAILABLE &&
+ if ( eState >= SFX_ITEM_DEFAULT &&
pState && pState->ISA(SvxPageItem) )
{
const sal_uInt16 nIdOrientation = mpToolBoxOrientation->GetItemId(UNO_ORIENTATION);
@@ -515,7 +515,7 @@ void PagePropertyPanel::NotifyItemUpdate(
{
mpBindings->Invalidate( SID_ATTR_PAGE, true, false );
}
- if ( eState >= SFX_ITEM_AVAILABLE &&
+ if ( eState >= SFX_ITEM_DEFAULT &&
pState && pState->ISA(SvxSizeItem) )
{
mpPageSizeItem.reset( static_cast<SvxSizeItem*>(pState->Clone()) );