coverity#1325251 Unchecked dynamic_cast
Change-Id: I20495f27bc95f0f0e834cafbeae51e4e86c84b5b
This commit is contained in:
parent
42f39d25c7
commit
792d507eec
@ -1474,7 +1474,7 @@ void SfxAcceleratorConfigPage::Reset( const SfxItemSet* rSet )
|
||||
const SfxPoolItem* pMacroItem=0;
|
||||
if( SfxItemState::SET == rSet->GetItemState( SID_MACROINFO, true, &pMacroItem ) )
|
||||
{
|
||||
m_pMacroInfoItem = dynamic_cast<const SfxMacroInfoItem*>( pMacroItem );
|
||||
m_pMacroInfoItem = &dynamic_cast<const SfxMacroInfoItem&>(*pMacroItem);
|
||||
m_pGroupLBox->SelectMacro( m_pMacroInfoItem );
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user