summaryrefslogtreecommitdiffstats
path: root/codemaker/source/cppumaker/cppuoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cppuoptions.cxx')
-rw-r--r--codemaker/source/cppumaker/cppuoptions.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx
index 3414a533ee53..40b33e30e2b5 100644
--- a/codemaker/source/cppumaker/cppuoptions.cxx
+++ b/codemaker/source/cppumaker/cppuoptions.cxx
@@ -61,7 +61,7 @@ bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile)
i = 0;
}
- char *s=NULL;
+ char *s=nullptr;
for( ; i < ac; i++)
{
if (av[i][0] == '-')
@@ -265,7 +265,7 @@ bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile)
if (av[i][0] == '@')
{
FILE* cmdFile = fopen(av[i]+1, "r");
- if( cmdFile == NULL )
+ if( cmdFile == nullptr )
{
fprintf(stderr, "%s", prepareHelp().getStr());
ret = false;