From 073808aa50f0c78e2d6fea4f56f0b814b314eb42 Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 26 Jul 2022 12:37:50 +0100 Subject: Code tidy : replace 0 with nullptr or true --- examples/pdf-custom-filter.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/pdf-custom-filter.cc') diff --git a/examples/pdf-custom-filter.cc b/examples/pdf-custom-filter.cc index e7877bea..2ea5fd42 100644 --- a/examples/pdf-custom-filter.cc +++ b/examples/pdf-custom-filter.cc @@ -37,7 +37,7 @@ // of running this example on test files that are specifically crafted // for it. -static char const* whoami = 0; +static char const* whoami = nullptr; class Pl_XOR: public Pipeline { @@ -447,8 +447,8 @@ main(int argc, char* argv[]) { whoami = QUtil::getWhoami(argv[0]); - char const* infilename = 0; - char const* outfilename = 0; + char const* infilename = nullptr; + char const* outfilename = nullptr; bool decode_specialized = false; for (int i = 1; i < argc; ++i) { if (strcmp(argv[i], "--decode-specialized") == 0) { -- cgit v1.2.3-70-g09d2