[Libreoffice-commits] core.git: slideshow/source
Stephan Bergmann
sbergman at redhat.com
Fri Dec 11 13:26:09 PST 2015
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ec8af31595fab867abf963ecfd80c6c3ec529948
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 11 22:25:43 2015 +0100
loplugin:nullptr
Change-Id: Ib6f55bc0ce6c09ea523174cb630c6d7cd9808f96
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
index ac7cf3b..7effc68 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
@@ -1826,7 +1826,7 @@ void GlitterTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int3
GLint location = glGetAttribLocation(m_nProgramObject, "center");
if (location != -1) {
glEnableVertexAttribArray(location);
- glVertexAttribPointer( location, 3, GL_FLOAT, false, 0, NULL );
+ glVertexAttribPointer( location, 3, GL_FLOAT, false, 0, nullptr );
CHECK_GL_ERROR();
}
More information about the Libreoffice-commits
mailing list