Commit a9bfb10c3e7230d795371eabac441baa81204ca7

Authored by Jay Berkenbilt
1 parent 6d0e60bf

comment


git-svn-id: svn+q:///qpdf/trunk@999 71b93d88-0707-0410-a8cf-f5a4172ac649
examples/pdf-double-page-size.cc
@@ -19,6 +19,8 @@ void usage() @@ -19,6 +19,8 @@ void usage()
19 19
20 static void doubleBoxSize(QPDFObjectHandle& page, char const* box_name) 20 static void doubleBoxSize(QPDFObjectHandle& page, char const* box_name)
21 { 21 {
  22 + // If there is a box of this name, replace it with a new box whose
  23 + // elements are double the values of the original box.
22 QPDFObjectHandle box = page.getKey(box_name); 24 QPDFObjectHandle box = page.getKey(box_name);
23 if (box.isNull()) 25 if (box.isNull())
24 { 26 {