Commit db6c09b625690bc83c0ce6cada6f3206096eeceb
1 parent
698a70e6
Fix doc typos
Showing
2 changed files
with
3 additions
and
3 deletions
include/qpdf/QPDFPageObjectHelper.hh
| @@ -43,7 +43,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper | @@ -43,7 +43,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper | ||
| 43 | 43 | ||
| 44 | // PAGE ATTRIBUTES | 44 | // PAGE ATTRIBUTES |
| 45 | 45 | ||
| 46 | - // The getAttribute method works with pages and form XObjects. It return the value of the | 46 | + // The getAttribute method works with pages and form XObjects. It returns the value of the |
| 47 | // requested attribute from the page/form XObject's dictionary, taking inheritance from the | 47 | // requested attribute from the page/form XObject's dictionary, taking inheritance from the |
| 48 | // pages tree into consideration. For pages, the attributes /MediaBox, /CropBox, /Resources, and | 48 | // pages tree into consideration. For pages, the attributes /MediaBox, /CropBox, /Resources, and |
| 49 | // /Rotate are inheritable, meaning that if they are not present directly on the page node, they | 49 | // /Rotate are inheritable, meaning that if they are not present directly on the page node, they |
| @@ -81,7 +81,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper | @@ -81,7 +81,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper | ||
| 81 | // As noted above (PAGE ATTRIBUTES), /MediaBox and /CropBox can be inherited from parent nodes | 81 | // As noted above (PAGE ATTRIBUTES), /MediaBox and /CropBox can be inherited from parent nodes |
| 82 | // in the pages tree. The other boxes can't be inherited. | 82 | // in the pages tree. The other boxes can't be inherited. |
| 83 | // | 83 | // |
| 84 | - // When the comments below refer to the "effective value" of an box, this takes into | 84 | + // When the comments below refer to the "effective value" of a box, this takes into |
| 85 | // consideration both inheritance through the pages tree (in the case of /MediaBox and /CropBox) | 85 | // consideration both inheritance through the pages tree (in the case of /MediaBox and /CropBox) |
| 86 | // and fallback values for missing attributes (for all except /MediaBox). | 86 | // and fallback values for missing attributes (for all except /MediaBox). |
| 87 | // | 87 | // |
libqpdf/QPDF_encryption.cc
| @@ -725,7 +725,7 @@ QPDF::initializeEncryption() | @@ -725,7 +725,7 @@ QPDF::initializeEncryption() | ||
| 725 | } | 725 | } |
| 726 | m->encp->encryption_initialized = true; | 726 | m->encp->encryption_initialized = true; |
| 727 | 727 | ||
| 728 | - // After we initialize encryption parameters, we must used stored key information and never look | 728 | + // After we initialize encryption parameters, we must use stored key information and never look |
| 729 | // at /Encrypt again. Otherwise, things could go wrong if someone mutates the encryption | 729 | // at /Encrypt again. Otherwise, things could go wrong if someone mutates the encryption |
| 730 | // dictionary. | 730 | // dictionary. |
| 731 | 731 |