summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/graphic
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/sidebar/graphic
parentce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (diff)
Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULT
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
Diffstat (limited to 'svx/source/sidebar/graphic')
-rw-r--r--svx/source/sidebar/graphic/GraphicPropertyPanel.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
index 7c660c5a5a47..506894c72f22 100644
--- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
+++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
@@ -263,7 +263,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
{
case SID_ATTR_GRAF_LUMINANCE:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrBrightness->Enable();
const SfxInt16Item* pItem = dynamic_cast< const SfxInt16Item* >(pState);
@@ -287,7 +287,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_CONTRAST:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrContrast->Enable();
const SfxInt16Item* pItem = dynamic_cast< const SfxInt16Item* >(pState);
@@ -311,7 +311,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_TRANSPARENCE:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrTrans->Enable();
const SfxUInt16Item* pItem = dynamic_cast< const SfxUInt16Item* >(pState);
@@ -335,7 +335,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_MODE:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpLBColorMode->Enable();
const SfxUInt16Item* pItem = dynamic_cast< const SfxUInt16Item* >(pState);
@@ -359,7 +359,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_RED:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrRed->Enable();
const SfxInt16Item* pItem = dynamic_cast< const SfxInt16Item* >(pState);
@@ -383,7 +383,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_GREEN:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrGreen->Enable();
const SfxInt16Item* pItem = dynamic_cast< const SfxInt16Item* >(pState);
@@ -407,7 +407,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_BLUE:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrBlue->Enable();
const SfxInt16Item* pItem = dynamic_cast< const SfxInt16Item* >(pState);
@@ -431,7 +431,7 @@ void GraphicPropertyPanel::NotifyItemUpdate(
}
case SID_ATTR_GRAF_GAMMA:
{
- if(eState >= SFX_ITEM_AVAILABLE)
+ if(eState >= SFX_ITEM_DEFAULT)
{
mpMtrGamma->Enable();
const SfxUInt32Item* pItem = dynamic_cast< const SfxUInt32Item* >(pState);