diff options
Diffstat (limited to 'examples/pdf-custom-filter.cc')
-rw-r--r-- | examples/pdf-custom-filter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdf-custom-filter.cc b/examples/pdf-custom-filter.cc index 72aa93b5..4514f6df 100644 --- a/examples/pdf-custom-filter.cc +++ b/examples/pdf-custom-filter.cc @@ -357,7 +357,7 @@ StreamReplacer::registerStream( this->copied_streams[og] = stream.copyStream(); // Update the stream dictionary with any changes. auto dict = stream.getDict(); - for (auto const& k : dict_updates.getKeys()) { + for (auto const& k: dict_updates.getKeys()) { dict.replaceKey(k, dict_updates.getKey(k)); } // Create the key stream that will be referenced from @@ -414,7 +414,7 @@ process( StreamReplacer* replacer = new StreamReplacer(&qpdf); std::shared_ptr<QPDFObjectHandle::StreamDataProvider> p(replacer); - for (auto& o : qpdf.getAllObjects()) { + for (auto& o: qpdf.getAllObjects()) { if (o.isStream()) { // Call registerStream for every stream. Only ones that // registerStream decides to replace will actually be |