From ea25c799ea6d16a15390f9edcd69fa9e8ec5b2b5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 1 Dec 2014 10:04:22 +0200 Subject: WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t' Change-Id: I71923bdeb7b66662f114b3e72d9e3846f8b9ff92 --- vcl/opengl/gdiimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/opengl/gdiimpl.cxx') diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 3b6f67b46aac..cff4a0bee77f 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() -- cgit