summaryrefslogtreecommitdiffstats
path: root/examples/pdf-custom-filter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-07-31 14:33:45 +0200
committerGitHub <noreply@github.com>2022-07-31 14:33:45 +0200
commit4feb10fdaf51bf3f88b853cdb32a1e9b1692ba52 (patch)
treea99925c17b8acddd802c705221ee71b71f891694 /examples/pdf-custom-filter.cc
parentc9cc8cfd74fdb59d5450939e1772dea35d369b04 (diff)
parent073808aa50f0c78e2d6fea4f56f0b814b314eb42 (diff)
downloadqpdf-4feb10fdaf51bf3f88b853cdb32a1e9b1692ba52.tar.zst
Merge pull request #734 from m-holger/nullptr
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) {