aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFPageObjectHelper.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-02-01 03:40:06 +0100
committerJay Berkenbilt <ejb@ql.org>2019-02-01 03:41:29 +0100
commitfec5bb124cc91cbdd0d6fe33bf773a9cae32e807 (patch)
treea5bbf3c11c7dc927cfa57e7d662b868178630a22 /libqpdf/QPDFPageObjectHelper.cc
parent1fba24aada0290d646b04289ab95395905f10c27 (diff)
downloadqpdf-fec5bb124cc91cbdd0d6fe33bf773a9cae32e807.tar.zst
Spell check
Diffstat (limited to 'libqpdf/QPDFPageObjectHelper.cc')
-rw-r--r--libqpdf/QPDFPageObjectHelper.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libqpdf/QPDFPageObjectHelper.cc b/libqpdf/QPDFPageObjectHelper.cc
index e72b4c70..9543d294 100644
--- a/libqpdf/QPDFPageObjectHelper.cc
+++ b/libqpdf/QPDFPageObjectHelper.cc
@@ -553,7 +553,7 @@ QPDFPageObjectHelper::shallowCopyPage()
{
throw std::runtime_error(
"QPDFPageObjectHelper::shallowCopyPage"
- " called with a direct objet");
+ " called with a direct object");
}
QPDFObjectHandle new_page = this->oh.shallowCopy();
return QPDFPageObjectHelper(qpdf->makeIndirectObject(new_page));
@@ -623,7 +623,7 @@ QPDFPageObjectHelper::getFormXObjectForPage(bool handle_transformations)
{
throw std::runtime_error(
"QPDFPageObjectHelper::getFormXObjectForPage"
- " called with a direct objet");
+ " called with a direct object");
}
QPDFObjectHandle result = QPDFObjectHandle::newStream(qpdf);
QPDFObjectHandle newdict = result.getDict();
@@ -690,7 +690,7 @@ QPDFPageObjectHelper::placeFormXObject(
if (invert_transformations)
{
// tmatrix inverts scaling and rotation of the destination
- // page. Applying this matrix allows the overlayed form
+ // page. Applying this matrix allows the overlaid form
// XObject's to be absolute rather than relative to properties
// of the destination page. tmatrix is part of the computed
// transformation matrix.
@@ -713,7 +713,7 @@ QPDFPageObjectHelper::placeFormXObject(
// to adjust this for scale and position.
// Step 1: figure out what scale factor we need to make the form
- // XObject's bnounding box fit within the destination rectangle.
+ // XObject's bounding box fit within the destination rectangle.
// Transform bounding box
QPDFObjectHandle::Rectangle bbox = bbox_obj.getArrayAsRectangle();