aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-30 01:06:27 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-30 01:06:27 +0200
commitff73d71ec8cfd5915a711e1b071ee183515705bd (patch)
treed13f4dedfac21e2524e2c8dd7acf6c42ad09dfa6 /TODO
parentd0b7cc8ac6773e3ddab1c34da910072fac441d07 (diff)
downloadqpdf-ff73d71ec8cfd5915a711e1b071ee183515705bd.tar.zst
Fix TODO typos
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index e7dbc01a..ffdb8f4b 100644
--- a/TODO
+++ b/TODO
@@ -477,11 +477,11 @@ in source and header files to find items not listed here.
* Having QPDFObjectHandle setters return Class& to allow for
use of fluent interfaces. This includes array and dictionary
mutators.
- newDictionary().replaceKey("/X", "1"_qpdf),replaceKey("/Y", "(asdf)"_qpdf);
+ newDictionary().replaceKey("/X", "1"_qpdf).replaceKey("/Y", "(asdf)"_qpdf);
* Add replaceKeyAndGet, appendItemAndGet, setArrayItemAndGet,
insertItemAndGet that return the new item so you can say
auto oh = dict.replaceKeyAndGet("/Key", QPDFObjectHandle::newSomething());
-* Add getOrInsertKey("/X", oh) that returns the existing value or adds
+* Add getKeyOrInsert("/X", oh) that returns the existing value or adds
oh as the new value and returns it.
* Add default values to the getters, like getIntValue(default_value).
If a default value is passed in, you never get a type warning.