From d740c6ccced02147f84a39d5e5f0984d12bac6cb Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 20 May 2023 14:13:09 -0400 Subject: Rerun format_code (after merging clang-tidy PR) --- examples/pdf-bookmarks.cc | 2 +- examples/pdf-count-strings.cc | 2 +- examples/pdf-create.cc | 2 +- examples/pdf-custom-filter.cc | 3 +-- examples/pdf-double-page-size.cc | 2 +- examples/pdf-filter-tokens.cc | 2 +- examples/pdf-invert-images.cc | 5 ++--- examples/pdf-mod-info.cc | 2 +- examples/pdf-npages.cc | 2 +- examples/pdf-overlay-page.cc | 2 +- examples/pdf-parse-content.cc | 2 +- examples/pdf-set-form-values.cc | 2 +- examples/pdf-split-pages.cc | 2 +- 13 files changed, 14 insertions(+), 16 deletions(-) (limited to 'examples') diff --git a/examples/pdf-bookmarks.cc b/examples/pdf-bookmarks.cc index d507f559..8128fed1 100644 --- a/examples/pdf-bookmarks.cc +++ b/examples/pdf-bookmarks.cc @@ -4,9 +4,9 @@ #include #include #include -#include #include #include +#include // This program demonstrates extraction of bookmarks using the qpdf // outlines API. Note that all the information shown by this program diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc index 93676375..e9eb827d 100644 --- a/examples/pdf-count-strings.cc +++ b/examples/pdf-count-strings.cc @@ -4,8 +4,8 @@ // that uses QPDFObjectHandle::TokenFilter with addContentTokenFilter. // -#include #include +#include #include #include diff --git a/examples/pdf-create.cc b/examples/pdf-create.cc index 64ae5cb8..641572d0 100644 --- a/examples/pdf-create.cc +++ b/examples/pdf-create.cc @@ -14,9 +14,9 @@ #include #include #include +#include #include #include -#include static char const* whoami = nullptr; diff --git a/examples/pdf-custom-filter.cc b/examples/pdf-custom-filter.cc index d99c6ab2..c2d4a441 100644 --- a/examples/pdf-custom-filter.cc +++ b/examples/pdf-custom-filter.cc @@ -200,8 +200,7 @@ class StreamReplacer: public QPDFObjectHandle::StreamDataProvider public: StreamReplacer(QPDF* pdf); ~StreamReplacer() override = default; - void - provideStreamData(QPDFObjGen const& og, Pipeline* pipeline) override; + void provideStreamData(QPDFObjGen const& og, Pipeline* pipeline) override; void registerStream( QPDFObjectHandle stream, diff --git a/examples/pdf-double-page-size.cc b/examples/pdf-double-page-size.cc index d1fb3344..1c9cb3e5 100644 --- a/examples/pdf-double-page-size.cc +++ b/examples/pdf-double-page-size.cc @@ -4,9 +4,9 @@ #include #include #include -#include #include #include +#include static char const* whoami = nullptr; diff --git a/examples/pdf-filter-tokens.cc b/examples/pdf-filter-tokens.cc index fb6f542c..9cfd3949 100644 --- a/examples/pdf-filter-tokens.cc +++ b/examples/pdf-filter-tokens.cc @@ -6,9 +6,9 @@ // #include +#include #include #include -#include #include #include diff --git a/examples/pdf-invert-images.cc b/examples/pdf-invert-images.cc index fae305b1..a7fa15fd 100644 --- a/examples/pdf-invert-images.cc +++ b/examples/pdf-invert-images.cc @@ -5,9 +5,9 @@ #include #include #include -#include #include #include +#include static char const* whoami = nullptr; @@ -34,8 +34,7 @@ class ImageInverter: public QPDFObjectHandle::StreamDataProvider { public: ~ImageInverter() override = default; - void - provideStreamData(QPDFObjGen const& og, Pipeline* pipeline) override; + void provideStreamData(QPDFObjGen const& og, Pipeline* pipeline) override; void registerImage( QPDFObjectHandle image, diff --git a/examples/pdf-mod-info.cc b/examples/pdf-mod-info.cc index 196ce979..a77070d2 100644 --- a/examples/pdf-mod-info.cc +++ b/examples/pdf-mod-info.cc @@ -5,10 +5,10 @@ #include #include #include -#include #include #include #include +#include static char const* version = "1.1"; static char const* whoami = nullptr; diff --git a/examples/pdf-npages.cc b/examples/pdf-npages.cc index e98d1365..59598cfd 100644 --- a/examples/pdf-npages.cc +++ b/examples/pdf-npages.cc @@ -1,6 +1,6 @@ -#include #include #include +#include #include #include diff --git a/examples/pdf-overlay-page.cc b/examples/pdf-overlay-page.cc index 5c7bf46f..5b74d58b 100644 --- a/examples/pdf-overlay-page.cc +++ b/examples/pdf-overlay-page.cc @@ -3,8 +3,8 @@ #include #include #include -#include #include +#include // This program demonstrates use of form XObjects to overlay a page // from one file onto all pages of another file. The qpdf program's diff --git a/examples/pdf-parse-content.cc b/examples/pdf-parse-content.cc index 968c980b..888656e5 100644 --- a/examples/pdf-parse-content.cc +++ b/examples/pdf-parse-content.cc @@ -1,5 +1,5 @@ -#include #include +#include #include #include diff --git a/examples/pdf-set-form-values.cc b/examples/pdf-set-form-values.cc index d13f0608..a41cb3f7 100644 --- a/examples/pdf-set-form-values.cc +++ b/examples/pdf-set-form-values.cc @@ -3,8 +3,8 @@ #include #include #include -#include #include +#include static char const* whoami = nullptr; diff --git a/examples/pdf-split-pages.cc b/examples/pdf-split-pages.cc index 6a4f149b..e8320201 100644 --- a/examples/pdf-split-pages.cc +++ b/examples/pdf-split-pages.cc @@ -10,9 +10,9 @@ #include #include +#include #include #include -#include #include static bool static_id = false; -- cgit v1.2.3-54-g00ecf