[Libreoffice-commits] core.git: vcl/headless
Stephan Bergmann
sbergman at redhat.com
Fri Apr 22 15:47:03 UTC 2016
vcl/headless/svpinst.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fdc1bd89559ea5efe2b3f6aa45b5158fedaed587
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 22 17:46:36 2016 +0200
loplugin:nullptr
Change-Id: I5090b2e55eb618b53748966133fe9166ee736866
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 65c25f1..82c1895 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -80,13 +80,13 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) :
CreateWakeupPipe();
if( s_pDefaultInstance == nullptr )
s_pDefaultInstance = this;
- pthread_atfork(NULL, NULL, atfork_child);
+ pthread_atfork(nullptr, nullptr, atfork_child);
}
SvpSalInstance::~SvpSalInstance()
{
if( s_pDefaultInstance == this )
- s_pDefaultInstance = NULL;
+ s_pDefaultInstance = nullptr;
CloseWakeupPipe();
}
More information about the Libreoffice-commits
mailing list