aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFFileSpecObjectHelper.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-18 00:28:50 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-20 15:16:25 +0200
commit56f1b411feeb58b55e92ee77daffaa49c51b7dad (patch)
tree4337c0ada5ccc979f89af9aecf0873c087329c05 /libqpdf/QPDFFileSpecObjectHelper.cc
parent7e7a9c437982b7ede2af9cd0b12b3e47b4bc3a3d (diff)
downloadqpdf-56f1b411feeb58b55e92ee77daffaa49c51b7dad.tar.zst
Back out fluent QPDFObjectHandle methods. Keep the andGet methods.
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it.
Diffstat (limited to 'libqpdf/QPDFFileSpecObjectHelper.cc')
-rw-r--r--libqpdf/QPDFFileSpecObjectHelper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDFFileSpecObjectHelper.cc b/libqpdf/QPDFFileSpecObjectHelper.cc
index f9c19e3c..fcc19b45 100644
--- a/libqpdf/QPDFFileSpecObjectHelper.cc
+++ b/libqpdf/QPDFFileSpecObjectHelper.cc
@@ -103,8 +103,8 @@ QPDFFileSpecObjectHelper::createFileSpec(
QPDFFileSpecObjectHelper result(oh);
result.setFilename(filename);
auto ef = QPDFObjectHandle::newDictionary();
- ef.replaceKey("/F", efsoh.getObjectHandle())
- .replaceKey("/UF", efsoh.getObjectHandle());
+ ef.replaceKey("/F", efsoh.getObjectHandle());
+ ef.replaceKey("/UF", efsoh.getObjectHandle());
oh.replaceKey("/EF", ef);
return result;
}