summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/area/AreaPropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/area/AreaPropertyPanel.cxx')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanel.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx
index dc283b94f140..c43e09c47f9b 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx
@@ -749,7 +749,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
{
bFillTransparenceChanged = true;
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
const SfxUInt16Item* pItem = dynamic_cast< const SfxUInt16Item* >(pState);
@@ -771,7 +771,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
{
bFillTransparenceChanged = true;
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
const XFillFloatTransparenceItem* pItem = dynamic_cast< const XFillFloatTransparenceItem* >(pState);
@@ -812,7 +812,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpStyleItem.reset();
}
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
const XFillStyleItem* pItem = dynamic_cast< const XFillStyleItem* >(pState);
@@ -847,7 +847,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_FILL_COLOR:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpColorItem.reset(pState ? (XFillColorItem*)pState->Clone() : 0);
}
@@ -857,7 +857,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Hide();
mpToolBoxColor->Show();
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpToolBoxColor->Enable();
mbColorAvail = true;
@@ -880,7 +880,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_FILL_GRADIENT:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpFillGradientItem.reset(pState ? (XFillGradientItem*)pState->Clone() : 0);
}
@@ -890,7 +890,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Show();
mpToolBoxColor->Hide();
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpLbFillAttr->Enable();
Update();
@@ -909,7 +909,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_FILL_HATCH:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpHatchItem.reset(pState ? (XFillHatchItem*)pState->Clone() : 0);
}
@@ -919,7 +919,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Show();
mpToolBoxColor->Hide();
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpLbFillAttr->Enable();
Update();
@@ -938,7 +938,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_FILL_BITMAP:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpBitmapItem.reset(pState ? (XFillBitmapItem*)pState->Clone() : 0);
}
@@ -948,7 +948,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Show();
mpToolBoxColor->Hide();
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
mpLbFillAttr->Enable();
Update();
@@ -967,7 +967,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_COLOR_TABLE:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
if(mpStyleItem && drawing::FillStyle_SOLID == (drawing::FillStyle)mpStyleItem->GetValue())
{
@@ -992,7 +992,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_GRADIENT_LIST:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
if(mpStyleItem && drawing::FillStyle_GRADIENT == (drawing::FillStyle)mpStyleItem->GetValue())
{
@@ -1017,7 +1017,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_HATCH_LIST:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
if(mpStyleItem && drawing::FillStyle_HATCH == (drawing::FillStyle)mpStyleItem->GetValue())
{
@@ -1042,7 +1042,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
}
case SID_BITMAP_LIST:
{
- if(SFX_ITEM_AVAILABLE == eState)
+ if(SFX_ITEM_DEFAULT == eState)
{
if(mpStyleItem && drawing::FillStyle_BITMAP == (drawing::FillStyle)mpStyleItem->GetValue())
{