Commit 43d4f793520640d51916f7cd87cf92f8e234b57a

Authored by Jay Berkenbilt
1 parent b9aded1a

Fix typo in variable name

Showing 1 changed file with 2 additions and 2 deletions
qpdf/test_driver.cc
... ... @@ -687,14 +687,14 @@ void runtest(int n, char const* filename)
687 687 // dictionary and modify it. Using the results of
688 688 // getDictAsMap to create a new dictionary effectively creates
689 689 // a shallow copy.
690   - QPDFObjectHandle page_tempate = pages[0];
  690 + QPDFObjectHandle page_template = pages[0];
691 691 std::vector<QPDFObjectHandle> new_pages;
692 692 for (std::vector<QPDFObjectHandle>::iterator iter = contents.begin();
693 693 iter != contents.end(); ++iter)
694 694 {
695 695 // We will retain indirect object references to other
696 696 // indirect objects other than page content.
697   - QPDFObjectHandle page = page_tempate.shallowCopy();
  697 + QPDFObjectHandle page = page_template.shallowCopy();
698 698 page.replaceKey("/Contents", *iter);
699 699 if (iter == contents.begin())
700 700 {
... ...