summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.cxx10
-rw-r--r--sw/source/uibase/sidebar/WrapPropertyPanel.cxx2
2 files changed, 6 insertions, 6 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()) );
diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
index 96d8d344b6f0..540042aa9d02 100644
--- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
@@ -185,7 +185,7 @@ void WrapPropertyPanel::NotifyItemUpdate(
{
(void)bIsEnabled;
- if ( eState == SFX_ITEM_AVAILABLE &&
+ if ( eState == SFX_ITEM_DEFAULT &&
pState->ISA(SfxBoolItem) )
{
//Set Radio Button enable