aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-21 22:11:42 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-21 22:11:42 +0200
commit05460d405cf7f3f4e3f2cd0b6bc594d1e4bbc662 (patch)
tree7e2cd96e0f9ff99d755db0dbcd44bdb09d3246cd
parent6c69a747b9f7a801be2ad58985f35886bd38239e (diff)
downloadqpdf-05460d405cf7f3f4e3f2cd0b6bc594d1e4bbc662.tar.zst
Format code
-rw-r--r--include/qpdf/QPDF.hh3
-rw-r--r--libqpdf/QPDF_json.cc3
-rw-r--r--libtests/json.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 8ddbf98b..a614e98a 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1047,8 +1047,7 @@ class QPDF
void setObjectDescription(QPDFObjectHandle& oh, JSON const& value);
QPDFObjectHandle makeObject(JSON const& value);
void error(qpdf_offset_t offset, std::string const& message);
- QPDFObjectHandle
- reserveObject(int obj, int gen);
+ QPDFObjectHandle reserveObject(int obj, int gen);
void replaceObject(
QPDFObjectHandle to_replace,
QPDFObjectHandle replacement,
diff --git a/libqpdf/QPDF_json.cc b/libqpdf/QPDF_json.cc
index a9368648..c6fab8ad 100644
--- a/libqpdf/QPDF_json.cc
+++ b/libqpdf/QPDF_json.cc
@@ -197,7 +197,8 @@ QPDF::test_json_validators()
}
static std::function<void(Pipeline*)>
-provide_data(std::shared_ptr<InputSource> is, qpdf_offset_t start, qpdf_offset_t end)
+provide_data(
+ std::shared_ptr<InputSource> is, qpdf_offset_t start, qpdf_offset_t end)
{
return [is, start, end](Pipeline* p) {
Pl_Base64 decode("base64-decode", p, Pl_Base64::a_decode);
diff --git a/libtests/json.cc b/libtests/json.cc
index 15618572..9c5720f4 100644
--- a/libtests/json.cc
+++ b/libtests/json.cc
@@ -2,8 +2,8 @@
#include <qpdf/JSON.hh>
#include <qpdf/Pipeline.hh>
-#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDF.hh>
+#include <qpdf/QPDFObjectHandle.hh>
#include <iostream>
static void