diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:23:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:39 +0100 |
commit | 7a8d48f57d106005be80e37ac74e8e2544ad83fe (patch) | |
tree | 4fe46b96ce47ff3bced1e9a6bf17cff87081b179 /shell/source/unix/exec | |
parent | 28034eaf925aa50d379dd5cffccc20d7edc95aec (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ied61699170bd5d2c3878135b1a43b4dc1deff4d4
Diffstat (limited to 'shell/source/unix/exec')
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 127acd85b527..99ed3a7a2f45 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -231,13 +231,13 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar if ( !aLaunchBuffer.isEmpty() ) { FILE *pLaunch = popen( aLaunchBuffer.makeStringAndClear().getStr(), "w" ); - if ( pLaunch != NULL ) + if ( pLaunch != nullptr ) { if ( 0 == pclose( pLaunch ) ) return; } // Failed, do not try DESKTOP_LAUNCH any more - pDesktopLaunch = NULL; + pDesktopLaunch = nullptr; } OString cmd = @@ -248,7 +248,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar aBuffer.makeStringAndClear(); #endif FILE *pLaunch = popen(cmd.getStr(), "w"); - if ( pLaunch != NULL ) + if ( pLaunch != nullptr ) { if ( 0 == pclose( pLaunch ) ) return; |