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

New commits:
commit 16660664879cfad128d4f1e562d30b0565b9b5de
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri May 8 22:58:55 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I2931de2cc2a9916dae785d0cc130ce2aa73cf54e

diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index 4a8d7e2..1a14dd1 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -274,9 +274,9 @@ ImplSVEvent * Window::PostUserEvent( const Link<>& rLink, 
void* pCaller, bool bR
     {
         // 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());
     }
 
     ImplAddDel( &(pSVEvent->maDelData) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to