Commit 82efe52b7dd664f4ae38f8932a9906e5232030cf

Authored by m-holger
1 parent fc828c2a

Tidy QdfFixer::adjustOstreamXref

Showing 1 changed file with 1 additions and 2 deletions
qpdf/fix-qdf.cc
... ... @@ -308,8 +308,7 @@ QdfFixer::checkObjId(std::string const& cur_obj_str)
308 308 void
309 309 QdfFixer::adjustOstreamXref()
310 310 {
311   - xref.pop_back();
312   - xref.push_back(QPDFXRefEntry(2, ostream_id, QIntC::to_int(ostream_idx++)));
  311 + xref.back() = QPDFXRefEntry(2, ostream_id, QIntC::to_int(ostream_idx++));
313 312 }
314 313  
315 314 void
... ...