[Libreoffice-commits] core.git: slideshow/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 20 02:25:19 PST 2015


 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4fd2972e4e540d5ecc9eeba21c4464aae771c10
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 20 11:24:13 2015 +0100

    Some more loplugin:cstylecast: slideshow
    
    Change-Id: I5cba157aa69b979a1e821f267f0560dd16533677

diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index 754e794..a878b08 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -337,7 +337,7 @@ void OGLTransitionerImpl::impl_initializeFlags( bool const bValidContext )
         const GLubyte* vendor = glGetString( GL_VENDOR );
 
         /* TODO: check for version once the bug in fglrx driver is fixed */
-        mbBrokenTexturesATI = (vendor && strcmp( (const char *) vendor, "ATI Technologies Inc." ) == 0 );
+        mbBrokenTexturesATI = (vendor && strcmp( reinterpret_cast<const char *>(vendor), "ATI Technologies Inc." ) == 0 );
     }
     CHECK_GL_ERROR();
 }


More information about the Libreoffice-commits mailing list