2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-09 17:53:57 +00:00

Tidy QdfFixer::adjustOstreamXref

This commit is contained in:
m-holger 2023-03-07 19:05:26 +00:00
parent fc828c2a50
commit 82efe52b7d

View File

@ -308,8 +308,7 @@ QdfFixer::checkObjId(std::string const& cur_obj_str)
void void
QdfFixer::adjustOstreamXref() QdfFixer::adjustOstreamXref()
{ {
xref.pop_back(); xref.back() = QPDFXRefEntry(2, ostream_id, QIntC::to_int(ostream_idx++));
xref.push_back(QPDFXRefEntry(2, ostream_id, QIntC::to_int(ostream_idx++)));
} }
void void