diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:17 +0200 |
commit | 201284cbb7a03ba5320d5aeba41473c25c8de2dd (patch) | |
tree | cbd73fb6b437525d3050b6291a8f577636bacd76 /reportdesign | |
parent | 58be5b0ac6d21bc81f3ad4243169ea6dec0dcb81 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I34e8bf7670077d25bbf20c03d1858279c7a5a106
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ReportControllerObserver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx index 0c6f3957a33d..3dd5b0091c3f 100644 --- a/reportdesign/source/ui/report/ReportControllerObserver.cxx +++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx @@ -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 ))) |