Commit a9bfb10c3e7230d795371eabac441baa81204ca7
1 parent
6d0e60bf
comment
git-svn-id: svn+q:///qpdf/trunk@999 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
1 changed file
with
2 additions
and
0 deletions
examples/pdf-double-page-size.cc
| ... | ... | @@ -19,6 +19,8 @@ void usage() |
| 19 | 19 | |
| 20 | 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 | 24 | QPDFObjectHandle box = page.getKey(box_name); |
| 23 | 25 | if (box.isNull()) |
| 24 | 26 | { | ... | ... |