aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-07-11 04:24:25 +0200
committerJay Berkenbilt <ejb@ql.org>2012-07-11 05:17:26 +0200
commit43d4f793520640d51916f7cd87cf92f8e234b57a (patch)
tree429130c4d4ccb118407f0b7aa8abb08bcb49c6fd
parentb9aded1a0062b52346ecb8aefb6035ad006ceba2 (diff)
downloadqpdf-43d4f793520640d51916f7cd87cf92f8e234b57a.tar.zst
Fix typo in variable name
-rw-r--r--qpdf/test_driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpdf/test_driver.cc b/qpdf/test_driver.cc
index 2e3fc65e..dd8de73e 100644
--- a/qpdf/test_driver.cc
+++ b/qpdf/test_driver.cc
@@ -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())
{