diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-30 15:43:07 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-30 19:26:43 +0200 |
commit | 7f023701dd843749cf878baabeb3d33917fda62f (patch) | |
tree | b5892c2ed7d7bd5ef296133f02600975f2d58280 /libqpdf/QPDFWriter.cc | |
parent | 2878c186bf6828589d220d5b19388934514d08a7 (diff) | |
download | qpdf-7f023701dd843749cf878baabeb3d33917fda62f.tar.zst |
Formatting: remove space in range-style for loops
Change .clang-format and commit automated changes from a fresh run of
format-code
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r-- | libqpdf/QPDFWriter.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc index d06a82b0..962a8a6c 100644 --- a/libqpdf/QPDFWriter.cc +++ b/libqpdf/QPDFWriter.cc @@ -2252,7 +2252,7 @@ QPDFWriter::initializeSpecialStreams() contents_objects.push_back(contents.getObjGen()); } - for (auto const& c : contents_objects) { + for (auto const& c: contents_objects) { this->m->contents_to_page_seq[c] = num; this->m->normalized_streams.insert(c); } @@ -2287,7 +2287,7 @@ QPDFWriter::preserveObjectStreams() "qpdf", "QPDFWriter preserve object streams", this->m->preserve_unreferenced_objects ? 0 : 1); - for (auto iter : omap) { + for (auto iter: omap) { QPDFObjGen og(iter.first, 0); if (eligible.count(og) || this->m->preserve_unreferenced_objects) { this->m->object_to_object_stream[og] = iter.second; @@ -2380,7 +2380,7 @@ QPDFWriter::prepareFileForWrite() this->m->pdf.fixDanglingReferences(true); QPDFObjectHandle root = this->m->pdf.getRoot(); - for (auto const& key : root.getKeys()) { + for (auto const& key: root.getKeys()) { QPDFObjectHandle oh = root.getKey(key); if ((key == "/Extensions") && (oh.isDictionary())) { bool extensions_indirect = false; |