summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-25 22:45:43 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-26 00:28:06 +0200
commitc17ea618d8431306b130c023575ffed50fcbe3f8 (patch)
treea093bba31edcb2bfff9a5af8db095cb5e0f7aca2 /svx
parent9ba833f0148522e14a2c639017afd90749816380 (diff)
fix some small regressions in no-chart area panel
Change-Id: I04239c0bcf78ee9029a2a17514d10d28c3b99d58
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanelBase.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 9db2ad51b96d..e21502b65c78 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -799,36 +799,37 @@ void AreaPropertyPanelBase::NotifyItemUpdate(
const bool /*bIsEnabled*/)
{
const bool bDisabled(SfxItemState::DISABLED == eState);
+ const bool bDefaultOrSet(SfxItemState::DEFAULT <= eState);
const bool bDefault(SfxItemState::DEFAULT == eState);
switch(nSID)
{
case SID_ATTR_FILL_TRANSPARENCE:
- updateFillTransparence(bDisabled, bDefault,
+ updateFillTransparence(bDisabled, bDefaultOrSet,
static_cast<const SfxUInt16Item*>(pState));
break;
case SID_ATTR_FILL_FLOATTRANSPARENCE:
- updateFillFloatTransparence(bDisabled, bDefault,
+ updateFillFloatTransparence(bDisabled, bDefaultOrSet,
static_cast<const XFillFloatTransparenceItem*>(pState));
break;
case SID_ATTR_FILL_STYLE:
- updateFillStyle(bDisabled, bDefault,
+ updateFillStyle(bDisabled, bDefaultOrSet,
static_cast<const XFillStyleItem*>(pState));
break;
case SID_ATTR_FILL_COLOR:
- updateFillColor(bDefault,
+ updateFillColor(bDefaultOrSet,
static_cast<const XFillColorItem*>(pState));
break;
case SID_ATTR_FILL_GRADIENT:
- updateFillGradient(bDisabled, bDefault,
+ updateFillGradient(bDisabled, bDefaultOrSet,
static_cast<const XFillGradientItem*>(pState));
break;
case SID_ATTR_FILL_HATCH:
- updateFillHatch(bDisabled, bDefault,
+ updateFillHatch(bDisabled, bDefaultOrSet,
static_cast<const XFillHatchItem*>(pState));
break;
case SID_ATTR_FILL_BITMAP:
- updateFillBitmap(bDisabled, bDefault,
+ updateFillBitmap(bDisabled, bDefaultOrSet,
static_cast<const XFillBitmapItem*>(pState));
break;
case SID_GRADIENT_LIST: