mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-09 23:00:57 +00:00
Format code
This commit is contained in:
parent
ee2571ea3c
commit
167057411e
@ -1345,10 +1345,7 @@ class QPDF
|
|||||||
|
|
||||||
struct UpdateObjectMapsFrame
|
struct UpdateObjectMapsFrame
|
||||||
{
|
{
|
||||||
UpdateObjectMapsFrame(
|
UpdateObjectMapsFrame(ObjUser const& ou, QPDFObjectHandle oh, bool top);
|
||||||
ObjUser const& ou,
|
|
||||||
QPDFObjectHandle oh,
|
|
||||||
bool top);
|
|
||||||
|
|
||||||
ObjUser const& ou;
|
ObjUser const& ou;
|
||||||
QPDFObjectHandle oh;
|
QPDFObjectHandle oh;
|
||||||
|
@ -3081,9 +3081,8 @@ QPDFJob::writeOutfile(QPDF& pdf)
|
|||||||
try {
|
try {
|
||||||
QUtil::remove_file(backup.c_str());
|
QUtil::remove_file(backup.c_str());
|
||||||
} catch (QPDFSystemError& e) {
|
} catch (QPDFSystemError& e) {
|
||||||
*m->log->getError()
|
*m->log->getError() << m->message_prefix << ": unable to delete original file ("
|
||||||
<< m->message_prefix << ": unable to delete original file (" << e.what() << ");"
|
<< e.what() << ");" << " original file left in " << backup
|
||||||
<< " original file left in " << backup
|
|
||||||
<< ", but the input was successfully replaced\n";
|
<< ", but the input was successfully replaced\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -346,8 +346,7 @@ QPDF::updateObjectMaps(
|
|||||||
((ssp >= 2) && ((key == "/Filter") || (key == "/DecodeParms")))) {
|
((ssp >= 2) && ((key == "/Filter") || (key == "/DecodeParms")))) {
|
||||||
// Don't traverse into stream parameters that we are not going to write.
|
// Don't traverse into stream parameters that we are not going to write.
|
||||||
} else {
|
} else {
|
||||||
pending.emplace_back(
|
pending.emplace_back(cur.ou, dict.getKey(key), false);
|
||||||
cur.ou, dict.getKey(key), false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user