summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-15 21:51:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-15 21:51:10 +0200
commit85cf97479e1f746d6e4021d448e161a7c889ccea (patch)
tree9db24ca45478248a1445055a4379632c2559bed5 /vcl/source/opengl
parent12e3b51abe883202af09769873f87b27d7de118b (diff)
loplugin:cstylecast
Change-Id: Ib87c2d84bc954e768a9a5165f528936aafa94887
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index c4af1db64ada..5d4b8f77a9c1 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -210,9 +210,9 @@ namespace
OString::number( aInfo.GetWindowsVersion() ) );
#else
static const OString aDeviceInfo (
- OString( (const char*)(glGetString(GL_VENDOR)) ) +
- OString( (const char*)(glGetString(GL_RENDERER)) ) +
- OString( (const char*)(glGetString(GL_VERSION)) ) );
+ OString( reinterpret_cast<const char*>(glGetString(GL_VENDOR)) ) +
+ OString( reinterpret_cast<const char*>(glGetString(GL_RENDERER)) ) +
+ OString( reinterpret_cast<const char*>(glGetString(GL_VERSION)) ) );
#endif
OString aMessage;