fix bitwise->logic conversion in SfxItemState commit
88a874fc
"convert SfxItemState constants to a proper enum"
Change-Id: I979d5a859f0bbfd8797bfc5ba4ce5497eb777fe7
This commit is contained in:
@@ -153,7 +153,7 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet* rInAttrs )
|
|||||||
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
|
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
|
||||||
m_pCbShowDescription->Check( bCheck );
|
m_pCbShowDescription->Check( bCheck );
|
||||||
|
|
||||||
if( aState != SFX_ITEM_DEFAULT )
|
if( aState != SFX_ITEM_DEFAULT && aState != SFX_ITEM_SET)
|
||||||
m_pCbShowDescription->Hide();
|
m_pCbShowDescription->Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user