aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-custom-filter.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-26 13:37:50 +0200
committerm-holger <m-holger@kubitscheck.org>2022-07-26 14:40:13 +0200
commit073808aa50f0c78e2d6fea4f56f0b814b314eb42 (patch)
treee2598b807a59cab41825d3b36f33dce45c7ba4de /examples/pdf-custom-filter.cc
parentd27edd54c4b077de66c40f681ff5d0e266952884 (diff)
downloadqpdf-073808aa50f0c78e2d6fea4f56f0b814b314eb42.tar.zst
Code tidy : replace 0 with nullptr or true
Diffstat (limited to 'examples/pdf-custom-filter.cc')
-rw-r--r--examples/pdf-custom-filter.cc6
1 files changed, 3 insertions, 3 deletions
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) {