From 3c5700c255f4603b5df9c6d183d13dd71a083cc3 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 27 May 2023 18:19:52 +0100 Subject: Code tidy - reflow comments and strings --- examples/pdf-double-page-size.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/pdf-double-page-size.cc') 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; -- cgit v1.2.3-70-g09d2