2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-09-16 15:19:07 +00:00

Format code

This commit is contained in:
Jay Berkenbilt 2024-06-07 08:07:51 -04:00
parent ee2571ea3c
commit 167057411e
3 changed files with 5 additions and 10 deletions

View File

@ -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;

View File

@ -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";
}
}
}

View File

@ -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);
}
}
}