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

New commits:
commit 85cf97479e1f746d6e4021d448e161a7c889ccea
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Sep 15 21:51:10 2015 +0200

    loplugin:cstylecast
    
    Change-Id: Ib87c2d84bc954e768a9a5165f528936aafa94887

diff --git a/vcl/source/opengl/OpenGLHelper.cxx 
b/vcl/source/opengl/OpenGLHelper.cxx
index c4af1db..5d4b8f7 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to