[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Fri May 8 14:03:41 PDT 2015
vcl/source/app/svapp.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 56e9755d75e5faae9765c3be4b8936e5867cef08
Author: Stephan Bergmann <sbergman at 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();
More information about the Libreoffice-commits
mailing list