[Libreoffice-commits] core.git: vcl/opengl

Tor Lillqvist tml at collabora.com
Mon Dec 1 00:07:20 PST 2014


 vcl/opengl/gdiimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ea25c799ea6d16a15390f9edcd69fa9e8ec5b2b5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 1 10:04:22 2014 +0200

    WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'
    
    Change-Id: I71923bdeb7b66662f114b3e72d9e3846f8b9ff92

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 3b6f67b..cff4a0b 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -134,7 +134,7 @@ bool OpenGLSalGraphicsImpl::AcquireContext( bool bOffscreen )
         pContext =CreateWinContext();
 
     mpContext.reset(pContext);
-    return (mpContext != NULL);
+    return (mpContext != nullptr);
 }
 
 bool OpenGLSalGraphicsImpl::ReleaseContext()


More information about the Libreoffice-commits mailing list