From 201284cbb7a03ba5320d5aeba41473c25c8de2dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:15:17 +0200 Subject: [PATCH] Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I34e8bf7670077d25bbf20c03d1858279c7a5a106 --- reportdesign/source/ui/report/ReportControllerObserver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(_pEvt->GetData()); + DataChangedEvent* pData = static_cast(_pEvt->GetData()); if ( pData && ((( pData->GetType() == DataChangedEventType::SETTINGS ) || ( pData->GetType() == DataChangedEventType::DISPLAY )) && ( pData->GetFlags() & AllSettingsFlags::STYLE )))