summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 23:03:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 23:03:14 +0200
commit56e9755d75e5faae9765c3be4b8936e5867cef08 (patch)
tree750c81fed5cb5dc1857516eb033ecb91c3c3c07b /vcl/source/app/svapp.cxx
parent16660664879cfad128d4f1e562d30b0565b9b5de (diff)
loplugin:redundantcast
Change-Id: I50154e2deb66a77fc4354b1db0e4cd8e1b1ffd2e
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 32949fb7734f..0796ded841de 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();