diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-05-20 20:13:09 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-05-20 20:52:19 +0200 |
commit | d740c6ccced02147f84a39d5e5f0984d12bac6cb (patch) | |
tree | 143a1ad44c281e69cc3c07d96ae694edfe098c8f /include | |
parent | 5f02c7c9e779a761b8324427c39e85429e25ba29 (diff) | |
download | qpdf-d740c6ccced02147f84a39d5e5f0984d12bac6cb.tar.zst |
Rerun format_code (after merging clang-tidy PR)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Buffer.hh | 2 | ||||
-rw-r--r-- | include/qpdf/InputSource.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDF.hh | 6 | ||||
-rw-r--r-- | include/qpdf/QPDFJob.hh | 3 | ||||
-rw-r--r-- | include/qpdf/QPDFPageObjectHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFTokenizer.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QUtil.hh | 4 |
8 files changed, 13 insertions, 12 deletions
diff --git a/include/qpdf/Buffer.hh b/include/qpdf/Buffer.hh index 06615e2c..ab92bd53 100644 --- a/include/qpdf/Buffer.hh +++ b/include/qpdf/Buffer.hh @@ -25,8 +25,8 @@ #include <qpdf/DLL.h> #include <qpdf/PointerHolder.hh> // unused -- remove in qpdf 12 (see #785) -#include <memory> #include <cstddef> +#include <memory> class Buffer { diff --git a/include/qpdf/InputSource.hh b/include/qpdf/InputSource.hh index c66066fb..631ab75f 100644 --- a/include/qpdf/InputSource.hh +++ b/include/qpdf/InputSource.hh @@ -26,8 +26,8 @@ #include <qpdf/PointerHolder.hh> // unused -- remove in qpdf 12 (see #785) #include <qpdf/Types.h> -#include <memory> #include <cstdio> +#include <memory> #include <string> // Remember to use QPDF_DLL_CLASS on anything derived from InputSource diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index f1dcb7f7..e43bf4c5 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -25,12 +25,12 @@ #include <qpdf/DLL.h> #include <qpdf/Types.h> +#include <cstdio> #include <functional> #include <iostream> #include <list> #include <map> #include <memory> -#include <cstdio> #include <string> #include <string_view> #include <vector> @@ -113,8 +113,8 @@ class QPDF // your own method of retrieving a PDF file, you can subclass // InputSource and use this method. QPDF_DLL - void - processInputSource(std::shared_ptr<InputSource>, char const* password = nullptr); + void processInputSource( + std::shared_ptr<InputSource>, char const* password = nullptr); // Create a PDF from an input source that contains JSON as written // by writeJSON (or qpdf --json-output, version 2 or higher). The diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index 51b54d80..27ab96d3 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -497,7 +497,8 @@ class QPDFJob // Helper functions static void usage(std::string const& msg); - static JSON json_schema(int json_version, std::set<std::string>* keys = nullptr); + static JSON + json_schema(int json_version, std::set<std::string>* keys = nullptr); static void parse_object_id( std::string const& objspec, bool& trailer, int& obj, int& gen); void parseRotationParameter(std::string const&); diff --git a/include/qpdf/QPDFPageObjectHelper.hh b/include/qpdf/QPDFPageObjectHelper.hh index 9f647c70..ffc515e0 100644 --- a/include/qpdf/QPDFPageObjectHelper.hh +++ b/include/qpdf/QPDFPageObjectHelper.hh @@ -319,8 +319,8 @@ class QPDFPageObjectHelper: public QPDFObjectHelper // contents, as happens with addContentTokenFilter. See // examples/pdf-count-strings.cc for an example. QPDF_DLL - void - filterContents(QPDFObjectHandle::TokenFilter* filter, Pipeline* next = nullptr); + void filterContents( + QPDFObjectHandle::TokenFilter* filter, Pipeline* next = nullptr); // Old name -- calls filterContents() QPDF_DLL diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh index 4de7a637..5dd8f9d8 100644 --- a/include/qpdf/QPDFTokenizer.hh +++ b/include/qpdf/QPDFTokenizer.hh @@ -27,8 +27,8 @@ #include <qpdf/InputSource.hh> #include <qpdf/PointerHolder.hh> // unused -- remove in qpdf 12 (see #785) -#include <memory> #include <cstdio> +#include <memory> #include <string> class QPDFTokenizer diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh index 162d4f4e..0d445177 100644 --- a/include/qpdf/QPDFWriter.hh +++ b/include/qpdf/QPDFWriter.hh @@ -29,12 +29,12 @@ #include <qpdf/DLL.h> #include <qpdf/Types.h> +#include <cstdio> #include <functional> #include <list> #include <map> #include <memory> #include <set> -#include <cstdio> #include <string> #include <string_view> #include <vector> diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index 2f7f15b2..85224059 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -25,14 +25,14 @@ #include <qpdf/DLL.h> #include <qpdf/PointerHolder.hh> // unused -- remove in qpdf 12 (see #785) #include <qpdf/Types.h> +#include <cstdio> #include <cstring> +#include <ctime> #include <functional> #include <list> #include <memory> #include <stdexcept> -#include <cstdio> #include <string> -#include <ctime> #include <vector> class RandomDataProvider; |