Commit ff73d71ec8cfd5915a711e1b071ee183515705bd

Authored by Jay Berkenbilt
1 parent d0b7cc8a

Fix TODO typos

Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -477,11 +477,11 @@ in source and header files to find items not listed here.
477 477 * Having QPDFObjectHandle setters return Class& to allow for
478 478 use of fluent interfaces. This includes array and dictionary
479 479 mutators.
480   - newDictionary().replaceKey("/X", "1"_qpdf),replaceKey("/Y", "(asdf)"_qpdf);
  480 + newDictionary().replaceKey("/X", "1"_qpdf).replaceKey("/Y", "(asdf)"_qpdf);
481 481 * Add replaceKeyAndGet, appendItemAndGet, setArrayItemAndGet,
482 482 insertItemAndGet that return the new item so you can say
483 483 auto oh = dict.replaceKeyAndGet("/Key", QPDFObjectHandle::newSomething());
484   -* Add getOrInsertKey("/X", oh) that returns the existing value or adds
  484 +* Add getKeyOrInsert("/X", oh) that returns the existing value or adds
485 485 oh as the new value and returns it.
486 486 * Add default values to the getters, like getIntValue(default_value).
487 487 If a default value is passed in, you never get a type warning.
... ...