From 3ab25d595b0dcfbcf2974faf526683d795cba1a9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 6 Jan 2022 15:33:29 -0500 Subject: [PATCH] Fix doc typos caught by m-holger -- thanks --- include/qpdf/QPDFArgParser.hh | 2 +- libqpdf/QPDFJob.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/qpdf/QPDFArgParser.hh b/include/qpdf/QPDFArgParser.hh index 15c17399..7054a706 100644 --- a/include/qpdf/QPDFArgParser.hh +++ b/include/qpdf/QPDFArgParser.hh @@ -35,7 +35,7 @@ // crafted to work with qpdf. qpdf's command-line syntax is very // complex because of its long history, and it doesn't really follow // any kind of normal standard for arguments, but it's important for -// backward compatibility not ensure we don't break what constitutes a +// backward compatibility to ensure we don't break what constitutes a // valid command. This class handles the quirks of qpdf's argument // parsing, bash/zsh completion, and support for @argfile to read // arguments from a file. diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc index a2bf668e..a18c4efc 100644 --- a/libqpdf/QPDFJob.cc +++ b/libqpdf/QPDFJob.cc @@ -710,7 +710,7 @@ QPDFJob::doCheck(QPDF& pdf) cout << "File is not linearized\n"; } - // Write the file no nowhere, uncompressing + // Write the file to nowhere, uncompressing // streams. This causes full file traversal and // decoding of all streams we can decode. QPDFWriter w(pdf); @@ -1970,7 +1970,7 @@ QPDFJob::doProcess( // a password encoded in PDF Doc encoding or Windows code page // 1252 for an AES-encrypted file or a UTF-8-encoded password on // an RC4-encrypted file, or if the password was properly encoded - // by the password given here was incorrectly encoded, there's a + // but the password given here was incorrectly encoded, there's a // good chance we'd succeed here. std::string ptemp; @@ -2754,7 +2754,7 @@ QPDFJob::handlePageSpecs( // survives through copying to the output but gets cleaned up // automatically at the end. Do not canonicalize the file // name. Using two different paths to refer to the same - // file is a document workaround for duplicating a page. + // file is a documented workaround for duplicating a page. // If you are using this an example of how to do this with // the API, you can just create two different QPDF objects // to the same underlying file with the same path to