Kaydet (Commit) 201284cb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I34e8bf7670077d25bbf20c03d1858279c7a5a106
üst 58be5b0a
...@@ -102,7 +102,7 @@ public: ...@@ -102,7 +102,7 @@ public:
if (nEvent == VCLEVENT_APPLICATION_DATACHANGED ) 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 ) || if ( pData && ((( pData->GetType() == DataChangedEventType::SETTINGS ) ||
( pData->GetType() == DataChangedEventType::DISPLAY )) && ( pData->GetType() == DataChangedEventType::DISPLAY )) &&
( pData->GetFlags() & AllSettingsFlags::STYLE ))) ( pData->GetFlags() & AllSettingsFlags::STYLE )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment