diff options
Diffstat (limited to 'i18npool/source/indexentry/genindex_data.cxx')
-rw-r--r-- | i18npool/source/indexentry/genindex_data.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/genindex_data.cxx b/i18npool/source/indexentry/genindex_data.cxx index a4721d8c907c..a185d753462c 100644 --- a/i18npool/source/indexentry/genindex_data.cxx +++ b/i18npool/source/indexentry/genindex_data.cxx @@ -38,7 +38,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) if (argc < 4) exit(-1); fp = fopen(argv[1], "rb"); // open the source file for read; - if (fp == NULL) { + if (fp == nullptr) { fprintf(stderr, "Opening the rule source file %s for reading failed: %s\n", argv[1], strerror(errno)); exit(1); } @@ -84,7 +84,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) fclose(fp); fp = fopen(argv[2], "wb"); - if (fp == NULL) { + if (fp == nullptr) { fprintf(stderr, "Opening %s for writing failed: %s\n", argv[2], strerror(errno)); exit(1); } |