mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Fix TODO typos
This commit is contained in:
parent
d0b7cc8ac6
commit
ff73d71ec8
4
TODO
4
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.
|
||||
|
Loading…
Reference in New Issue
Block a user