summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-09 12:30:56 +0200
committerNoel Grandin <noel@peralex.com>2014-09-09 13:31:17 +0200
commit7ad83656484db970a9539f0fd73c387cda15d40b (patch)
treeb083f71bf7d5f42b8bba7a00b9e5e02e32a22eb7 /chart2
parent6492c8576e0393f7ee548cd938e84c80e8d37127 (diff)
fix bitwise->logic conversion in SfxItemState commit
88a874fc "convert SfxItemState constants to a proper enum" Change-Id: I979d5a859f0bbfd8797bfc5ba4ce5497eb777fe7
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/tp_AxisLabel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 7a6cf630735a..35676394c983 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -153,7 +153,7 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet* rInAttrs )
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
m_pCbShowDescription->Check( bCheck );
- if( aState != SFX_ITEM_DEFAULT )
+ if( aState != SFX_ITEM_DEFAULT && aState != SFX_ITEM_SET)
m_pCbShowDescription->Hide();
}