Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I34e8bf7670077d25bbf20c03d1858279c7a5a106
This commit is contained in:
parent
58be5b0ac6
commit
201284cbb7
@ -102,7 +102,7 @@ public:
|
||||
|
||||
if (nEvent == VCLEVENT_APPLICATION_DATACHANGED )
|
||||
{
|
||||
DataChangedEvent* pData = reinterpret_cast<DataChangedEvent*>(_pEvt->GetData());
|
||||
DataChangedEvent* pData = static_cast<DataChangedEvent*>(_pEvt->GetData());
|
||||
if ( pData && ((( pData->GetType() == DataChangedEventType::SETTINGS ) ||
|
||||
( pData->GetType() == DataChangedEventType::DISPLAY )) &&
|
||||
( pData->GetFlags() & AllSettingsFlags::STYLE )))
|
||||
|
Loading…
x
Reference in New Issue
Block a user