fix bitwise->logic conversion in SfxItemState commit

88a874fc "convert SfxItemState constants to a proper enum"

Change-Id: I979d5a859f0bbfd8797bfc5ba4ce5497eb777fe7
This commit is contained in:
Noel Grandin
2014-09-09 12:30:56 +02:00
parent 6492c8576e
commit 7ad8365648

View File

@@ -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();
}