aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-10-07 23:46:07 +0200
committerJay Berkenbilt <ejb@ql.org>2023-10-07 23:52:35 +0200
commit8854143c7b204534d4ee2ecdf96fd17be0f7e9bd (patch)
tree98c4e141ff9908f554c958c7c201a1d3ccdbad19 /include
parent076b33ce4ef5027428fefbc0cddb5a3f86221c3d (diff)
downloadqpdf-8854143c7b204534d4ee2ecdf96fd17be0f7e9bd.tar.zst
Spell check
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QIntC.hh2
-rw-r--r--include/qpdf/QPDFObjectHandle.hh2
-rw-r--r--include/qpdf/QPDFWriter.hh2
-rw-r--r--include/qpdf/qpdf-c.h4
4 files changed, 6 insertions, 4 deletions
diff --git a/include/qpdf/QIntC.hh b/include/qpdf/QIntC.hh
index e6c337c2..6e997ffc 100644
--- a/include/qpdf/QIntC.hh
+++ b/include/qpdf/QIntC.hh
@@ -277,6 +277,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
QIntC::range_check_error<T>(cur, delta);
}
+ // ABI: fix spelling error in function name
template <typename T>
void
range_check_substract_error(T const& cur, T const& delta)
@@ -295,6 +296,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
}
}
+ // ABI: fix typo in function name
template <typename T>
inline void
range_check_substract(T const& cur, T const& delta)
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 03262b40..ca135125 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -1177,7 +1177,7 @@ class QPDFObjectHandle
// mappings are not reversible. There is no way to tell the difference between a string that
// looks like a name or indirect object from an actual name or indirect object.
// * JSON v2:
- // * Unicode strings and strings encoded with PDF Doc encoding that can be bidrectionally
+ // * Unicode strings and strings encoded with PDF Doc encoding that can be bidirectionally
// mapped two Unicode (which is all strings without undefined characters) are represented
// as "u:" followed by the UTF-8 encoded string. Example:
// "u:potato".
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index be2d6f2e..6bbe69e4 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -293,7 +293,7 @@ class QPDFWriter
QPDF_DLL
void setSuppressOriginalObjectIDs(bool);
- // Preserve encryption. The default is true unless prefilering, content normalization, or qdf
+ // Preserve encryption. The default is true unless prefiltering, content normalization, or qdf
// mode has been selected in which case encryption is never preserved. Encryption is also not
// preserved if we explicitly set encryption parameters.
QPDF_DLL
diff --git a/include/qpdf/qpdf-c.h b/include/qpdf/qpdf-c.h
index e3639a43..d4305602 100644
--- a/include/qpdf/qpdf-c.h
+++ b/include/qpdf/qpdf-c.h
@@ -608,7 +608,7 @@ extern "C" {
* not destroy the object. All QPDFObjectHandle objects are deleted when they are no longer
* referenced. Releasing an object handle simply invalidates it. For example, if you create an
* object, add it to an existing dictionary or array, and then release its handle, the object is
- * safely part of the dictionary or array. Similarly, any other object handle refering to the
+ * safely part of the dictionary or array. Similarly, any other object handle referring to the
* object remains valid. Explicitly releasing an object handle is essentially the same as
* letting a QPDFObjectHandle go out of scope in the C++ API.
*
@@ -826,7 +826,7 @@ extern "C" {
qpdf_oh qpdf_oh_new_string(qpdf_data qpdf, char const* str);
QPDF_DLL
qpdf_oh qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str);
- /* Use qpdf_oh_new_binary_string for creating a string that may contain atrbitary binary data
+ /* Use qpdf_oh_new_binary_string for creating a string that may contain arbitrary binary data
* including embedded null characters.
*/
QPDF_DLL