From 78aa3b6c2bf6db9931a760a8a93ee2cf96b17123 Mon Sep 17 00:00:00 2001 From: m-holger Date: Wed, 2 Mar 2022 18:37:51 +0000 Subject: Tidy example pdf-double-page-size Also fix typo in pdf-attach-file example. --- examples/pdf-attach-file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pdf-attach-file.cc') diff --git a/examples/pdf-attach-file.cc b/examples/pdf-attach-file.cc index c9c5caea..af1e5267 100644 --- a/examples/pdf-attach-file.cc +++ b/examples/pdf-attach-file.cc @@ -98,7 +98,7 @@ static void process(char const* infilename, char const* password, // apdict.replaceKey("/Type", QPDFObjectHandle::newName("/XObject")); // apdict.replaceKey("/Subtype", QPDFObjectHandle::newName("/Form")); // apdict.replaceKey("/BBox", QPDFObjectHandle::parse("[ 0 0 20 20 ]")); - apdict.replaceKey("/Resources", "<< >>"_qpdf""); + apdict.replaceKey("/Resources", "<< >>"_qpdf); apdict.replaceKey("/Type", "/XObject"_qpdf); apdict.replaceKey("/Subtype", "/Form"_qpdf); apdict.replaceKey("/BBox", "[ 0 0 20 20 ]"_qpdf); -- cgit v1.2.3-70-g09d2