aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-double-page-size.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pdf-double-page-size.cc')
-rw-r--r--examples/pdf-double-page-size.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/pdf-double-page-size.cc b/examples/pdf-double-page-size.cc
index 6e1b4f8b..289c4d17 100644
--- a/examples/pdf-double-page-size.cc
+++ b/examples/pdf-double-page-size.cc
@@ -14,18 +14,16 @@ void
usage()
{
std::cerr << "Usage: " << whoami << " infile.pdf outfile.pdf [in-password]" << std::endl
- << "Double size of all pages in infile.pdf;"
- << " write output to outfile.pdf" << std::endl;
+ << "Double size of all pages in infile.pdf; write output to outfile.pdf" << std::endl;
exit(2);
}
-// If there is a box of name box_name, replace it with a new box whose
-// elements are double the values of the original box.
+// If there is a box of name box_name, replace it with a new box whose elements are double the
+// values of the original box.
static void
doubleBoxSize(QPDFPageObjectHelper& page, char const* box_name)
{
- // We need to use getAttribute rather than getKey as some boxes could
- // be inherited.
+ // We need to use getAttribute rather than getKey as some boxes could be inherited.
auto box = page.getAttribute(box_name, true);
if (box.isNull()) {
return;