Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I34e8bf7670077d25bbf20c03d1858279c7a5a106
This commit is contained in:
Stephan Bergmann
2015-03-31 13:15:17 +02:00
parent 58be5b0ac6
commit 201284cbb7

View File

@@ -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 )))