Kaydet (Commit) 56e9755d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast

Change-Id: I50154e2deb66a77fc4354b1db0e4cd8e1b1ffd2e
üst 16660664
...@@ -909,9 +909,9 @@ ImplSVEvent * Application::PostUserEvent( const Link<>& rLink, void* pCaller, ...@@ -909,9 +909,9 @@ ImplSVEvent * Application::PostUserEvent( const Link<>& rLink, void* pCaller,
{ {
// Double check that this is indeed a vcl::Window instance. // Double check that this is indeed a vcl::Window instance.
assert(dynamic_cast<vcl::Window *>( assert(dynamic_cast<vcl::Window *>(
reinterpret_cast<vcl::Window *>(rLink.GetInstance())) == static_cast<vcl::Window *>(rLink.GetInstance())) ==
reinterpret_cast<vcl::Window *>(rLink.GetInstance())); static_cast<vcl::Window *>(rLink.GetInstance()));
pSVEvent->mpInstanceRef = reinterpret_cast<vcl::Window *>(rLink.GetInstance()); pSVEvent->mpInstanceRef = static_cast<vcl::Window *>(rLink.GetInstance());
} }
vcl::Window* pDefWindow = ImplGetDefaultWindow(); vcl::Window* pDefWindow = ImplGetDefaultWindow();
......
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