[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu Nov 19 05:16:04 PST 2015
vcl/source/opengl/OpenGLContext.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5bf3daf9cb18610e2869997c64dc1ec31d863a51
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 19 14:15:35 2015 +0100
loplugin:nullptr
Change-Id: Ie461bc10ee2f7d2329a23c86bdc922839bea7974
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 1f5af6f..0dc05fc 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1734,10 +1734,10 @@ OpenGLProgram* OpenGLContext::UseProgram( const OUString& rVertexShader, const O
void OpenGLContext::UseNoProgram()
{
- if( mpCurrentProgram == NULL )
+ if( mpCurrentProgram == nullptr )
return;
- mpCurrentProgram = NULL;
+ mpCurrentProgram = nullptr;
glUseProgram( 0 );
CHECK_GL_ERROR();
}
More information about the Libreoffice-commits
mailing list