Commit 167057411ec99ba6f681d88e8d66a9230aef705e

Authored by Jay Berkenbilt
1 parent ee2571ea

Format code

include/qpdf/QPDF.hh
@@ -1345,10 +1345,7 @@ class QPDF @@ -1345,10 +1345,7 @@ class QPDF
1345 1345
1346 struct UpdateObjectMapsFrame 1346 struct UpdateObjectMapsFrame
1347 { 1347 {
1348 - UpdateObjectMapsFrame(  
1349 - ObjUser const& ou,  
1350 - QPDFObjectHandle oh,  
1351 - bool top); 1348 + UpdateObjectMapsFrame(ObjUser const& ou, QPDFObjectHandle oh, bool top);
1352 1349
1353 ObjUser const& ou; 1350 ObjUser const& ou;
1354 QPDFObjectHandle oh; 1351 QPDFObjectHandle oh;
libqpdf/QPDFJob.cc
@@ -3081,10 +3081,9 @@ QPDFJob::writeOutfile(QPDF& pdf) @@ -3081,10 +3081,9 @@ QPDFJob::writeOutfile(QPDF& pdf)
3081 try { 3081 try {
3082 QUtil::remove_file(backup.c_str()); 3082 QUtil::remove_file(backup.c_str());
3083 } catch (QPDFSystemError& e) { 3083 } catch (QPDFSystemError& e) {
3084 - *m->log->getError()  
3085 - << m->message_prefix << ": unable to delete original file (" << e.what() << ");"  
3086 - << " original file left in " << backup  
3087 - << ", but the input was successfully replaced\n"; 3084 + *m->log->getError() << m->message_prefix << ": unable to delete original file ("
  3085 + << e.what() << ");" << " original file left in " << backup
  3086 + << ", but the input was successfully replaced\n";
3088 } 3087 }
3089 } 3088 }
3090 } 3089 }
libqpdf/QPDF_optimization.cc
@@ -346,8 +346,7 @@ QPDF::updateObjectMaps( @@ -346,8 +346,7 @@ QPDF::updateObjectMaps(
346 ((ssp >= 2) && ((key == "/Filter") || (key == "/DecodeParms")))) { 346 ((ssp >= 2) && ((key == "/Filter") || (key == "/DecodeParms")))) {
347 // Don't traverse into stream parameters that we are not going to write. 347 // Don't traverse into stream parameters that we are not going to write.
348 } else { 348 } else {
349 - pending.emplace_back(  
350 - cur.ou, dict.getKey(key), false); 349 + pending.emplace_back(cur.ou, dict.getKey(key), false);
351 } 350 }
352 } 351 }
353 } 352 }