summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/gstwindow.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:09:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:15 +0100
commit8697284d248f47dd4798f7ef49791fc7686f646d (patch)
tree3cc7278e7160aa96242b03dcc683f0ff5f235aa7 /avmedia/source/gstreamer/gstwindow.cxx
parentcb0fb3edd43194311a76ad6c0d3adad7f6dfe53d (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a
Diffstat (limited to 'avmedia/source/gstreamer/gstwindow.cxx')
-rw-r--r--avmedia/source/gstreamer/gstwindow.cxx6
1 files changed, 3 insertions, 3 deletions
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;