diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:21:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:34 +0100 |
commit | 5bbdb9423e15b68438bb8397c15635e044129e28 (patch) | |
tree | 737406d1586cdd8b5247f7f230ab59bf0bb87bbb /rsc/source/prj | |
parent | e96bf3c40f945d15a8bdc9cffc27346dfb3cb246 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I8df6c1c7d2312a4864750180561a3e63fe37003f
Diffstat (limited to 'rsc/source/prj')
-rw-r--r-- | rsc/source/prj/gui.cxx | 2 | ||||
-rw-r--r-- | rsc/source/prj/start.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index 89d5d6e9e89c..540563895f44 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -29,7 +29,7 @@ static RscVerbosity lcl_determineVerbosity( int argc, char ** argv ) { for ( int i = 0; i < argc; ++i ) { - if ( argv[i] == NULL ) + if ( argv[i] == nullptr ) continue; if ( rsc_stricmp( argv[i], "-verbose" ) == 0 ) return RscVerbosityVerbose; diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index b61b8d89a512..bf496473af48 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -49,7 +49,7 @@ static bool CallPrePro( const OString& rInput, RscPtrPtr aRespCmdL; // Kommandozeile RscPtrPtr * pCmdL = &aNewCmdL; int i, nRet; - FILE* fRspFile = NULL; + FILE* fRspFile = nullptr; OString aRspFileName; if( bResponse ) |