summaryrefslogtreecommitdiff
path: root/i18npool/source/textconversion/genconv_dict.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/textconversion/genconv_dict.cxx')
-rw-r--r--i18npool/source/textconversion/genconv_dict.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/textconversion/genconv_dict.cxx b/i18npool/source/textconversion/genconv_dict.cxx
index f83d4cacff92..e6903a11f643 100644
--- a/i18npool/source/textconversion/genconv_dict.cxx
+++ b/i18npool/source/textconversion/genconv_dict.cxx
@@ -43,7 +43,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
sfp = fopen(argv[2], "rb"); // open the source file for read;
- if (sfp == NULL)
+ if (sfp == nullptr)
{
fprintf(stderr, "Opening the dictionary source file %s for reading failed: %s\n", argv[1], strerror(errno));
exit(1);
@@ -51,7 +51,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
// create the C source file to write
cfp = fopen(argv[3], "wb");
- if (cfp == NULL) {
+ if (cfp == nullptr) {
fclose(sfp);
fprintf(stderr, "Opening %s for writing failed: %s\n", argv[3], strerror(errno));
exit(1);