summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/qpdf/QPDFPageObjectHelper.hh4
-rw-r--r--libqpdf/QPDF_encryption.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/QPDFPageObjectHelper.hh b/include/qpdf/QPDFPageObjectHelper.hh
index 98bb078e..120df104 100644
--- a/include/qpdf/QPDFPageObjectHelper.hh
+++ b/include/qpdf/QPDFPageObjectHelper.hh
@@ -43,7 +43,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
// PAGE ATTRIBUTES
- // The getAttribute method works with pages and form XObjects. It return the value of the
+ // The getAttribute method works with pages and form XObjects. It returns the value of the
// requested attribute from the page/form XObject's dictionary, taking inheritance from the
// pages tree into consideration. For pages, the attributes /MediaBox, /CropBox, /Resources, and
// /Rotate are inheritable, meaning that if they are not present directly on the page node, they
@@ -81,7 +81,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
// As noted above (PAGE ATTRIBUTES), /MediaBox and /CropBox can be inherited from parent nodes
// in the pages tree. The other boxes can't be inherited.
//
- // When the comments below refer to the "effective value" of an box, this takes into
+ // When the comments below refer to the "effective value" of a box, this takes into
// consideration both inheritance through the pages tree (in the case of /MediaBox and /CropBox)
// and fallback values for missing attributes (for all except /MediaBox).
//
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index 3fda99c4..26044500 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -725,7 +725,7 @@ QPDF::initializeEncryption()
}
m->encp->encryption_initialized = true;
- // After we initialize encryption parameters, we must used stored key information and never look
+ // After we initialize encryption parameters, we must use stored key information and never look
// at /Encrypt again. Otherwise, things could go wrong if someone mutates the encryption
// dictionary.