From 8697284d248f47dd4798f7ef49791fc7686f646d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:09:59 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a --- avmedia/source/gstreamer/gstwindow.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'avmedia/source/gstreamer/gstwindow.cxx') diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx index e3c5cc96f980..bee5f0a7ff0c 100644 --- a/avmedia/source/gstreamer/gstwindow.cxx +++ b/avmedia/source/gstreamer/gstwindow.cxx @@ -33,13 +33,13 @@ namespace avmedia { namespace gstreamer { static ::osl::Mutex& ImplGetOwnStaticMutex() { - static ::osl::Mutex* pMutex = NULL; + static ::osl::Mutex* pMutex = nullptr; - if( pMutex == NULL ) + if( pMutex == nullptr ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if( pMutex == NULL ) + if( pMutex == nullptr ) { static ::osl::Mutex aMutex; pMutex = &aMutex; -- cgit