vcl/source/app/svapp.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 56e9755d75e5faae9765c3be4b8936e5867cef08
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri May 8 23:03:14 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I50154e2deb66a77fc4354b1db0e4cd8e1b1ffd2e

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 32949fb..0796ded 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -909,9 +909,9 @@ ImplSVEvent * Application::PostUserEvent( const Link<>& 
rLink, void* pCaller,
     {
         // Double check that this is indeed a vcl::Window instance.
         assert(dynamic_cast<vcl::Window *>(
-                        reinterpret_cast<vcl::Window *>(rLink.GetInstance())) 
==
-               reinterpret_cast<vcl::Window *>(rLink.GetInstance()));
-        pSVEvent->mpInstanceRef = reinterpret_cast<vcl::Window 
*>(rLink.GetInstance());
+                        static_cast<vcl::Window *>(rLink.GetInstance())) ==
+               static_cast<vcl::Window *>(rLink.GetInstance()));
+        pSVEvent->mpInstanceRef = static_cast<vcl::Window 
*>(rLink.GetInstance());
     }
 
     vcl::Window* pDefWindow = ImplGetDefaultWindow();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to