diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-02-08 17:19:08 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-02-08 17:50:58 +0100 |
commit | 716381f65a2b2dc72f8da2426ba71aeab02c507f (patch) | |
tree | 975f3bded95aa2b5dac423883f555e4a4fc6e420 /include | |
parent | 68e4aec054dd735c0a808133acdf2fbca6c648c7 (diff) | |
download | qpdf-716381f65a2b2dc72f8da2426ba71aeab02c507f.tar.zst |
Fix doc typos
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/PointerHolder.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/qpdf/PointerHolder.hh b/include/qpdf/PointerHolder.hh index 2297ba21..45236456 100644 --- a/include/qpdf/PointerHolder.hh +++ b/include/qpdf/PointerHolder.hh @@ -118,7 +118,7 @@ // POINTERHOLDER_TRANSITION = 3 // -// Warn for all use of PointerHolder<T>. This help you remove all use +// Warn for all use of PointerHolder<T>. This helps you remove all use // of PointerHolder from your code and use std::shared_ptr instead. // You will also have to transition any containers of PointerHolder in // your code. diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index e7d03d89..22258159 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -149,7 +149,7 @@ class QPDFObjectHandle // representation of the token. For a string, this means that // there are no delimiters, and for a name, it means that all // escaping (# followed by two hex digits) has been resolved. - // qpdf's internal representation of name includes the leading + // qpdf's internal representation of a name includes the leading // slash. As such, you can't write the value of token.getValue() // directly to output that is supposed to be valid PDF syntax. If // you want to do that, you need to call writeToken() instead, or @@ -163,8 +163,8 @@ class QPDFObjectHandle // writeToken(). Example: // writeToken(QPDFTokenizer::Token(QPDFTokenizer::tt_name, "/text/plain")) // would write `/text#2fplain`, and - // writeToken(QPDFTokenizer::Token(QPDFTokenizer::tt_string, "a\\(b")) - // would write `(a\(b)` + // writeToken(QPDFTokenizer::Token(QPDFTokenizer::tt_string, "a\\(b)") + // would write `(a\(b)`. class QPDF_DLL_CLASS TokenFilter { public: @@ -531,7 +531,7 @@ class QPDFObjectHandle // PDF name is a sequence of bytes, excluding the NUL character, // and starting with a slash. Name objects as represented in the // PDF specification can contain characters escaped with #, but - // such escaping is not of concern calling QPDFObjectHandle + // such escaping is not of concern when calling QPDFObjectHandle // methods not directly relating to parsing. For example, // newName("/text/plain").getName() and // parse("/text#2fplain").getName() both return "/text/plain", @@ -955,7 +955,7 @@ class QPDFObjectHandle QPDF_DLL QPDF* getOwningQPDF(); - // Create a shallow of an object as a direct object, but do not + // Create a shallow copy of an object as a direct object, but do not // traverse across indirect object boundaries. That means that, // for dictionaries and arrays, any keys or items that were // indirect objects will still be indirect objects that point to |