mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
Fix typo in variable name
This commit is contained in:
parent
b9aded1a00
commit
43d4f79352
@ -687,14 +687,14 @@ void runtest(int n, char const* filename)
|
||||
// dictionary and modify it. Using the results of
|
||||
// getDictAsMap to create a new dictionary effectively creates
|
||||
// a shallow copy.
|
||||
QPDFObjectHandle page_tempate = pages[0];
|
||||
QPDFObjectHandle page_template = pages[0];
|
||||
std::vector<QPDFObjectHandle> new_pages;
|
||||
for (std::vector<QPDFObjectHandle>::iterator iter = contents.begin();
|
||||
iter != contents.end(); ++iter)
|
||||
{
|
||||
// We will retain indirect object references to other
|
||||
// indirect objects other than page content.
|
||||
QPDFObjectHandle page = page_tempate.shallowCopy();
|
||||
QPDFObjectHandle page = page_template.shallowCopy();
|
||||
page.replaceKey("/Contents", *iter);
|
||||
if (iter == contents.begin())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user