diff options
Diffstat (limited to 'libtests')
-rw-r--r-- | libtests/nntree.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libtests/nntree.cc b/libtests/nntree.cc index 4a874578..31b1bd42 100644 --- a/libtests/nntree.cc +++ b/libtests/nntree.cc @@ -70,8 +70,7 @@ test_bsearch() limits.appendItem(QPDFObjectHandle::newInteger(v.at(0))); limits.appendItem(QPDFObjectHandle::newInteger(v.at(v.size() - 1))); auto node = q.makeIndirectObject(QPDFObjectHandle::newDictionary()); - node.replaceKey("/Nums", nums); - node.replaceKey("/Limits", limits); + node.replaceKey("/Nums", nums).replaceKey("/Limits", limits); return node; }; |