From 167057411ec99ba6f681d88e8d66a9230aef705e Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 7 Jun 2024 08:07:51 -0400 Subject: [PATCH] Format code --- include/qpdf/QPDF.hh | 5 +---- libqpdf/QPDFJob.cc | 7 +++---- libqpdf/QPDF_optimization.cc | 3 +-- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 93c0ad75..f28d4051 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -1345,10 +1345,7 @@ class QPDF struct UpdateObjectMapsFrame { - UpdateObjectMapsFrame( - ObjUser const& ou, - QPDFObjectHandle oh, - bool top); + UpdateObjectMapsFrame(ObjUser const& ou, QPDFObjectHandle oh, bool top); ObjUser const& ou; QPDFObjectHandle oh; diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc index a85ff0a2..d76098f6 100644 --- a/libqpdf/QPDFJob.cc +++ b/libqpdf/QPDFJob.cc @@ -3081,10 +3081,9 @@ QPDFJob::writeOutfile(QPDF& pdf) try { QUtil::remove_file(backup.c_str()); } catch (QPDFSystemError& e) { - *m->log->getError() - << m->message_prefix << ": unable to delete original file (" << e.what() << ");" - << " original file left in " << backup - << ", but the input was successfully replaced\n"; + *m->log->getError() << m->message_prefix << ": unable to delete original file (" + << e.what() << ");" << " original file left in " << backup + << ", but the input was successfully replaced\n"; } } } diff --git a/libqpdf/QPDF_optimization.cc b/libqpdf/QPDF_optimization.cc index 1ebb8401..0e457af5 100644 --- a/libqpdf/QPDF_optimization.cc +++ b/libqpdf/QPDF_optimization.cc @@ -346,8 +346,7 @@ QPDF::updateObjectMaps( ((ssp >= 2) && ((key == "/Filter") || (key == "/DecodeParms")))) { // Don't traverse into stream parameters that we are not going to write. } else { - pending.emplace_back( - cur.ou, dict.getKey(key), false); + pending.emplace_back(cur.ou, dict.getKey(key), false); } } }