mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-08 06:15:23 +00:00
Format code
This commit is contained in:
parent
ee2571ea3c
commit
167057411e
@ -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;
|
||||
|
@ -3081,9 +3081,8 @@ 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
|
||||
*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";
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user