Commit 7f043fe88ed8d7ce14a67cbfaf0c0b18015b8f9f
1 parent
a6d7b79e
Remove unused include directives
Showing
56 changed files
with
0 additions
and
83 deletions
examples/pdf-count-strings.cc
| @@ -6,13 +6,11 @@ | @@ -6,13 +6,11 @@ | ||
| 6 | 6 | ||
| 7 | #include <iostream> | 7 | #include <iostream> |
| 8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 9 | -#include <string.h> | ||
| 10 | 9 | ||
| 11 | #include <qpdf/Pl_StdioFile.hh> | 10 | #include <qpdf/Pl_StdioFile.hh> |
| 12 | #include <qpdf/QPDF.hh> | 11 | #include <qpdf/QPDF.hh> |
| 13 | #include <qpdf/QPDFObjectHandle.hh> | 12 | #include <qpdf/QPDFObjectHandle.hh> |
| 14 | #include <qpdf/QPDFPageDocumentHelper.hh> | 13 | #include <qpdf/QPDFPageDocumentHelper.hh> |
| 15 | -#include <qpdf/QPDFPageObjectHelper.hh> | ||
| 16 | #include <qpdf/QUtil.hh> | 14 | #include <qpdf/QUtil.hh> |
| 17 | 15 | ||
| 18 | static char const* whoami = nullptr; | 16 | static char const* whoami = nullptr; |
examples/pdf-create.cc
| @@ -12,13 +12,11 @@ | @@ -12,13 +12,11 @@ | ||
| 12 | #include <qpdf/QPDF.hh> | 12 | #include <qpdf/QPDF.hh> |
| 13 | #include <qpdf/QPDFObjectHandle.hh> | 13 | #include <qpdf/QPDFObjectHandle.hh> |
| 14 | #include <qpdf/QPDFPageDocumentHelper.hh> | 14 | #include <qpdf/QPDFPageDocumentHelper.hh> |
| 15 | -#include <qpdf/QPDFPageObjectHelper.hh> | ||
| 16 | #include <qpdf/QPDFWriter.hh> | 15 | #include <qpdf/QPDFWriter.hh> |
| 17 | #include <qpdf/QUtil.hh> | 16 | #include <qpdf/QUtil.hh> |
| 18 | #include <iostream> | 17 | #include <iostream> |
| 19 | #include <memory> | 18 | #include <memory> |
| 20 | #include <stdlib.h> | 19 | #include <stdlib.h> |
| 21 | -#include <string.h> | ||
| 22 | 20 | ||
| 23 | static char const* whoami = nullptr; | 21 | static char const* whoami = nullptr; |
| 24 | 22 |
examples/pdf-filter-tokens.cc
| @@ -9,12 +9,10 @@ | @@ -9,12 +9,10 @@ | ||
| 9 | #include <deque> | 9 | #include <deque> |
| 10 | #include <iostream> | 10 | #include <iostream> |
| 11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
| 12 | -#include <string.h> | ||
| 13 | 12 | ||
| 14 | #include <qpdf/QPDF.hh> | 13 | #include <qpdf/QPDF.hh> |
| 15 | #include <qpdf/QPDFObjectHandle.hh> | 14 | #include <qpdf/QPDFObjectHandle.hh> |
| 16 | #include <qpdf/QPDFPageDocumentHelper.hh> | 15 | #include <qpdf/QPDFPageDocumentHelper.hh> |
| 17 | -#include <qpdf/QPDFPageObjectHelper.hh> | ||
| 18 | #include <qpdf/QPDFWriter.hh> | 16 | #include <qpdf/QPDFWriter.hh> |
| 19 | #include <qpdf/QUtil.hh> | 17 | #include <qpdf/QUtil.hh> |
| 20 | 18 |
examples/pdf-name-number-tree.cc
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | #include <qpdf/QPDFNumberTreeObjectHelper.hh> | 3 | #include <qpdf/QPDFNumberTreeObjectHelper.hh> |
| 4 | #include <qpdf/QPDFWriter.hh> | 4 | #include <qpdf/QPDFWriter.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | -#include <cstring> | ||
| 7 | #include <iostream> | 6 | #include <iostream> |
| 8 | 7 | ||
| 9 | static char const* whoami = nullptr; | 8 | static char const* whoami = nullptr; |
examples/pdf-overlay-page.cc
| @@ -5,7 +5,6 @@ | @@ -5,7 +5,6 @@ | ||
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | #include <iostream> | 6 | #include <iostream> |
| 7 | #include <stdlib.h> | 7 | #include <stdlib.h> |
| 8 | -#include <string.h> | ||
| 9 | 8 | ||
| 10 | // This program demonstrates use of form XObjects to overlay a page | 9 | // This program demonstrates use of form XObjects to overlay a page |
| 11 | // from one file onto all pages of another file. The qpdf program's | 10 | // from one file onto all pages of another file. The qpdf program's |
examples/pdf-parse-content.cc
examples/pdf-set-form-values.cc
| @@ -4,9 +4,7 @@ | @@ -4,9 +4,7 @@ | ||
| 4 | #include <qpdf/QPDFWriter.hh> | 4 | #include <qpdf/QPDFWriter.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | #include <iostream> | 6 | #include <iostream> |
| 7 | -#include <stdio.h> | ||
| 8 | #include <stdlib.h> | 7 | #include <stdlib.h> |
| 9 | -#include <string.h> | ||
| 10 | 8 | ||
| 11 | static char const* whoami = nullptr; | 9 | static char const* whoami = nullptr; |
| 12 | 10 |
examples/qpdf-job.cc
| 1 | -#include <qpdf/QIntC.hh> | ||
| 2 | #include <qpdf/QPDFJob.hh> | 1 | #include <qpdf/QPDFJob.hh> |
| 3 | #include <qpdf/QUtil.hh> | 2 | #include <qpdf/QUtil.hh> |
| 4 | 3 | ||
| 5 | -#include <cstring> | ||
| 6 | #include <iostream> | 4 | #include <iostream> |
| 7 | 5 | ||
| 8 | // This program is a simple demonstration of different ways to use the | 6 | // This program is a simple demonstration of different ways to use the |
examples/qpdfjob-c-save-attachment.c
examples/qpdfjob-remove-annotations.cc
| @@ -4,7 +4,6 @@ | @@ -4,7 +4,6 @@ | ||
| 4 | 4 | ||
| 5 | #include <cstdio> | 5 | #include <cstdio> |
| 6 | #include <cstdlib> | 6 | #include <cstdlib> |
| 7 | -#include <cstring> | ||
| 8 | #include <iostream> | 7 | #include <iostream> |
| 9 | 8 | ||
| 10 | // This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF | 9 | // This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF |
libqpdf/BufferInputSource.cc
| @@ -2,9 +2,7 @@ | @@ -2,9 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/QIntC.hh> | 3 | #include <qpdf/QIntC.hh> |
| 4 | #include <algorithm> | 4 | #include <algorithm> |
| 5 | -#include <limits> | ||
| 6 | #include <sstream> | 5 | #include <sstream> |
| 7 | -#include <stdexcept> | ||
| 8 | #include <string.h> | 6 | #include <string.h> |
| 9 | 7 | ||
| 10 | BufferInputSource::BufferInputSource( | 8 | BufferInputSource::BufferInputSource( |
libqpdf/MD5.cc
| @@ -4,10 +4,6 @@ | @@ -4,10 +4,6 @@ | ||
| 4 | #include <qpdf/QPDFCryptoProvider.hh> | 4 | #include <qpdf/QPDFCryptoProvider.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | 6 | ||
| 7 | -#include <errno.h> | ||
| 8 | -#include <memory.h> | ||
| 9 | -#include <stdio.h> | ||
| 10 | -#include <stdlib.h> | ||
| 11 | #include <string.h> | 7 | #include <string.h> |
| 12 | 8 | ||
| 13 | MD5::MD5() | 9 | MD5::MD5() |
libqpdf/Pipeline.cc
libqpdf/Pl_AES_PDF.cc
| @@ -5,7 +5,6 @@ | @@ -5,7 +5,6 @@ | ||
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | #include <cstring> | 6 | #include <cstring> |
| 7 | #include <stdexcept> | 7 | #include <stdexcept> |
| 8 | -#include <stdlib.h> | ||
| 9 | #include <string> | 8 | #include <string> |
| 10 | 9 | ||
| 11 | bool Pl_AES_PDF::use_static_iv = false; | 10 | bool Pl_AES_PDF::use_static_iv = false; |
libqpdf/Pl_ASCIIHexDecoder.cc
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | #include <qpdf/QTC.hh> | 3 | #include <qpdf/QTC.hh> |
| 4 | #include <ctype.h> | 4 | #include <ctype.h> |
| 5 | #include <stdexcept> | 5 | #include <stdexcept> |
| 6 | -#include <string.h> | ||
| 7 | 6 | ||
| 8 | Pl_ASCIIHexDecoder::Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next) : | 7 | Pl_ASCIIHexDecoder::Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next) : |
| 9 | Pipeline(identifier, next), | 8 | Pipeline(identifier, next), |
libqpdf/Pl_Base64.cc
libqpdf/Pl_DCT.cc
| @@ -2,12 +2,9 @@ | @@ -2,12 +2,9 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/QIntC.hh> | 3 | #include <qpdf/QIntC.hh> |
| 4 | #include <qpdf/QTC.hh> | 4 | #include <qpdf/QTC.hh> |
| 5 | -#include <qpdf/QUtil.hh> | ||
| 6 | 5 | ||
| 7 | -#include <cstring> | ||
| 8 | #include <setjmp.h> | 6 | #include <setjmp.h> |
| 9 | #include <stdexcept> | 7 | #include <stdexcept> |
| 10 | -#include <stdlib.h> | ||
| 11 | #include <string> | 8 | #include <string> |
| 12 | 9 | ||
| 13 | #if BITS_IN_JSAMPLE != 8 | 10 | #if BITS_IN_JSAMPLE != 8 |
libqpdf/Pl_Function.cc
libqpdf/Pl_OStream.cc
libqpdf/Pl_QPDFTokenizer.cc
| @@ -2,9 +2,7 @@ | @@ -2,9 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/BufferInputSource.hh> | 3 | #include <qpdf/BufferInputSource.hh> |
| 4 | #include <qpdf/QTC.hh> | 4 | #include <qpdf/QTC.hh> |
| 5 | -#include <qpdf/QUtil.hh> | ||
| 6 | #include <stdexcept> | 5 | #include <stdexcept> |
| 7 | -#include <string.h> | ||
| 8 | 6 | ||
| 9 | Pl_QPDFTokenizer::Members::Members() : | 7 | Pl_QPDFTokenizer::Members::Members() : |
| 10 | filter(nullptr), | 8 | filter(nullptr), |
libqpdf/Pl_SHA2.cc
| @@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/QPDFCryptoProvider.hh> | 3 | #include <qpdf/QPDFCryptoProvider.hh> |
| 4 | #include <qpdf/QUtil.hh> | 4 | #include <qpdf/QUtil.hh> |
| 5 | -#include <cstdio> | ||
| 6 | #include <stdexcept> | 5 | #include <stdexcept> |
| 7 | 6 | ||
| 8 | Pl_SHA2::Pl_SHA2(int bits, Pipeline* next) : | 7 | Pl_SHA2::Pl_SHA2(int bits, Pipeline* next) : |
libqpdf/Pl_String.cc
libqpdf/QPDFAnnotationObjectHelper.cc
| @@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/QPDF.hh> | 3 | #include <qpdf/QPDF.hh> |
| 4 | #include <qpdf/QPDFMatrix.hh> | 4 | #include <qpdf/QPDFMatrix.hh> |
| 5 | -#include <qpdf/QPDFNameTreeObjectHelper.hh> | ||
| 6 | #include <qpdf/QTC.hh> | 5 | #include <qpdf/QTC.hh> |
| 7 | #include <qpdf/QUtil.hh> | 6 | #include <qpdf/QUtil.hh> |
| 8 | 7 |
libqpdf/QPDFExc.cc
libqpdf/QPDFParser.cc
| @@ -16,7 +16,6 @@ | @@ -16,7 +16,6 @@ | ||
| 16 | #include <qpdf/QPDF_Reserved.hh> | 16 | #include <qpdf/QPDF_Reserved.hh> |
| 17 | #include <qpdf/QPDF_Stream.hh> | 17 | #include <qpdf/QPDF_Stream.hh> |
| 18 | #include <qpdf/QPDF_String.hh> | 18 | #include <qpdf/QPDF_String.hh> |
| 19 | -#include <qpdf/QPDF_Unresolved.hh> | ||
| 20 | #include <qpdf/QTC.hh> | 19 | #include <qpdf/QTC.hh> |
| 21 | #include <qpdf/QUtil.hh> | 20 | #include <qpdf/QUtil.hh> |
| 22 | 21 |
libqpdf/QPDFSystemError.cc
libqpdf/QPDFXRefEntry.cc
libqpdf/QPDF_Name.cc
| 1 | #include <qpdf/QPDF_Name.hh> | 1 | #include <qpdf/QPDF_Name.hh> |
| 2 | 2 | ||
| 3 | #include <qpdf/QUtil.hh> | 3 | #include <qpdf/QUtil.hh> |
| 4 | -#include <stdio.h> | ||
| 5 | -#include <string.h> | ||
| 6 | 4 | ||
| 7 | QPDF_Name::QPDF_Name(std::string const& name) : | 5 | QPDF_Name::QPDF_Name(std::string const& name) : |
| 8 | QPDFValue(::ot_name, "name"), | 6 | QPDFValue(::ot_name, "name"), |
libqpdf/QPDF_String.cc
| @@ -5,7 +5,6 @@ | @@ -5,7 +5,6 @@ | ||
| 5 | // DO NOT USE ctype -- it is locale dependent for some things, and | 5 | // DO NOT USE ctype -- it is locale dependent for some things, and |
| 6 | // it's not worth the risk of including it in case it may accidentally | 6 | // it's not worth the risk of including it in case it may accidentally |
| 7 | // be used. | 7 | // be used. |
| 8 | -#include <string.h> | ||
| 9 | 8 | ||
| 10 | static bool | 9 | static bool |
| 11 | is_iso_latin1_printable(char ch) | 10 | is_iso_latin1_printable(char ch) |
libqpdf/QPDF_linearization.cc
libqpdf/QUtil.cc
| @@ -9,7 +9,6 @@ | @@ -9,7 +9,6 @@ | ||
| 9 | #include <qpdf/QPDFSystemError.hh> | 9 | #include <qpdf/QPDFSystemError.hh> |
| 10 | #include <qpdf/QTC.hh> | 10 | #include <qpdf/QTC.hh> |
| 11 | 11 | ||
| 12 | -#include <cmath> | ||
| 13 | #include <ctype.h> | 12 | #include <ctype.h> |
| 14 | #include <errno.h> | 13 | #include <errno.h> |
| 15 | #include <fcntl.h> | 14 | #include <fcntl.h> |
libqpdf/RC4.cc
| @@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
| 2 | 2 | ||
| 3 | #include <qpdf/QPDFCryptoProvider.hh> | 3 | #include <qpdf/QPDFCryptoProvider.hh> |
| 4 | 4 | ||
| 5 | -#include <string.h> | ||
| 6 | 5 | ||
| 7 | RC4::RC4(unsigned char const* key_data, int key_len) : | 6 | RC4::RC4(unsigned char const* key_data, int key_len) : |
| 8 | crypto(QPDFCryptoProvider::getImpl()) | 7 | crypto(QPDFCryptoProvider::getImpl()) |
libqpdf/qpdf-c.cc
| @@ -15,7 +15,6 @@ | @@ -15,7 +15,6 @@ | ||
| 15 | #include <qpdf/qpdf-c_impl.hh> | 15 | #include <qpdf/qpdf-c_impl.hh> |
| 16 | #include <qpdf/qpdflogger-c_impl.hh> | 16 | #include <qpdf/qpdflogger-c_impl.hh> |
| 17 | 17 | ||
| 18 | -#include <cstring> | ||
| 19 | #include <functional> | 18 | #include <functional> |
| 20 | #include <list> | 19 | #include <list> |
| 21 | #include <stdexcept> | 20 | #include <stdexcept> |
libqpdf/qpdfjob-c.cc
| 1 | #include <qpdf/qpdfjob-c.h> | 1 | #include <qpdf/qpdfjob-c.h> |
| 2 | 2 | ||
| 3 | #include <qpdf/QPDFJob.hh> | 3 | #include <qpdf/QPDFJob.hh> |
| 4 | -#include <qpdf/QPDFLogger.hh> | ||
| 5 | #include <qpdf/QPDFUsage.hh> | 4 | #include <qpdf/QPDFUsage.hh> |
| 6 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 7 | #include <qpdf/qpdf-c_impl.hh> | 6 | #include <qpdf/qpdf-c_impl.hh> |
| 8 | #include <qpdf/qpdflogger-c_impl.hh> | 7 | #include <qpdf/qpdflogger-c_impl.hh> |
| 9 | 8 | ||
| 10 | #include <cstdio> | 9 | #include <cstdio> |
| 11 | -#include <cstring> | ||
| 12 | 10 | ||
| 13 | struct _qpdfjob_handle | 11 | struct _qpdfjob_handle |
| 14 | { | 12 | { |
libqpdf/qpdflogger-c.cc
| @@ -4,7 +4,6 @@ | @@ -4,7 +4,6 @@ | ||
| 4 | 4 | ||
| 5 | #include <qpdf/Pipeline.hh> | 5 | #include <qpdf/Pipeline.hh> |
| 6 | #include <qpdf/Pl_Function.hh> | 6 | #include <qpdf/Pl_Function.hh> |
| 7 | -#include <qpdf/QIntC.hh> | ||
| 8 | #include <qpdf/QPDFLogger.hh> | 7 | #include <qpdf/QPDFLogger.hh> |
| 9 | #include <functional> | 8 | #include <functional> |
| 10 | #include <memory> | 9 | #include <memory> |
libtests/arg_parser.cc
libtests/bits.cc
| @@ -4,7 +4,6 @@ | @@ -4,7 +4,6 @@ | ||
| 4 | #include <qpdf/QIntC.hh> | 4 | #include <qpdf/QIntC.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | #include <iostream> | 6 | #include <iostream> |
| 7 | -#include <stdio.h> | ||
| 8 | #include <stdlib.h> | 7 | #include <stdlib.h> |
| 9 | 8 | ||
| 10 | // See comments in bits_functions.hh | 9 | // See comments in bits_functions.hh |
libtests/closed_file_input_source.cc
libtests/cxx11.cc
libtests/dct_uncompress.cc
libtests/flate.cc
| @@ -4,10 +4,8 @@ | @@ -4,10 +4,8 @@ | ||
| 4 | #include <qpdf/Pl_StdioFile.hh> | 4 | #include <qpdf/Pl_StdioFile.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | 6 | ||
| 7 | -#include <errno.h> | ||
| 8 | #include <iostream> | 7 | #include <iostream> |
| 9 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 10 | -#include <string.h> | ||
| 11 | 9 | ||
| 12 | void | 10 | void |
| 13 | run(char const* filename) | 11 | run(char const* filename) |
libtests/json_parse.cc
libtests/logger_c.c
libtests/pointer_holder.cc
libtests/predictors.cc
| @@ -6,7 +6,6 @@ | @@ -6,7 +6,6 @@ | ||
| 6 | #include <qpdf/QIntC.hh> | 6 | #include <qpdf/QIntC.hh> |
| 7 | #include <qpdf/QUtil.hh> | 7 | #include <qpdf/QUtil.hh> |
| 8 | 8 | ||
| 9 | -#include <errno.h> | ||
| 10 | #include <iostream> | 9 | #include <iostream> |
| 11 | #include <stdlib.h> | 10 | #include <stdlib.h> |
| 12 | #include <string.h> | 11 | #include <string.h> |
libtests/qutil.cc
| @@ -3,15 +3,11 @@ | @@ -3,15 +3,11 @@ | ||
| 3 | #include <qpdf/Pl_Buffer.hh> | 3 | #include <qpdf/Pl_Buffer.hh> |
| 4 | #include <qpdf/QPDFSystemError.hh> | 4 | #include <qpdf/QPDFSystemError.hh> |
| 5 | #include <qpdf/QUtil.hh> | 5 | #include <qpdf/QUtil.hh> |
| 6 | -#include <fcntl.h> | ||
| 7 | #include <fstream> | 6 | #include <fstream> |
| 8 | #include <iostream> | 7 | #include <iostream> |
| 9 | #include <limits.h> | 8 | #include <limits.h> |
| 10 | -#include <locale> | ||
| 11 | #include <stdio.h> | 9 | #include <stdio.h> |
| 12 | #include <string.h> | 10 | #include <string.h> |
| 13 | -#include <sys/stat.h> | ||
| 14 | -#include <sys/types.h> | ||
| 15 | 11 | ||
| 16 | #ifdef _WIN32 | 12 | #ifdef _WIN32 |
| 17 | # include <io.h> | 13 | # include <io.h> |
libtests/random.cc
| 1 | #include <qpdf/InsecureRandomDataProvider.hh> | 1 | #include <qpdf/InsecureRandomDataProvider.hh> |
| 2 | #include <qpdf/QUtil.hh> | 2 | #include <qpdf/QUtil.hh> |
| 3 | #include <qpdf/SecureRandomDataProvider.hh> | 3 | #include <qpdf/SecureRandomDataProvider.hh> |
| 4 | -#include <qpdf/qpdf-config.h> | ||
| 5 | #include <iostream> | 4 | #include <iostream> |
| 6 | 5 | ||
| 7 | class BogusRandomDataProvider: public RandomDataProvider | 6 | class BogusRandomDataProvider: public RandomDataProvider |
libtests/sha2.cc
qpdf/pdf_from_scratch.cc
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | #include <qpdf/QPDFObjectHandle.hh> | 3 | #include <qpdf/QPDFObjectHandle.hh> |
| 4 | #include <qpdf/QPDFPageDocumentHelper.hh> | 4 | #include <qpdf/QPDFPageDocumentHelper.hh> |
| 5 | #include <qpdf/QPDFWriter.hh> | 5 | #include <qpdf/QPDFWriter.hh> |
| 6 | -#include <qpdf/QTC.hh> | ||
| 7 | #include <qpdf/QUtil.hh> | 6 | #include <qpdf/QUtil.hh> |
| 8 | #include <iostream> | 7 | #include <iostream> |
| 9 | #include <stdio.h> | 8 | #include <stdio.h> |
qpdf/qpdf.cc
qpdf/qpdfjob-ctest.c
qpdf/test_driver.cc
| @@ -26,7 +26,6 @@ | @@ -26,7 +26,6 @@ | ||
| 26 | #include <qpdf/QPDFWriter.hh> | 26 | #include <qpdf/QPDFWriter.hh> |
| 27 | #include <qpdf/QTC.hh> | 27 | #include <qpdf/QTC.hh> |
| 28 | #include <qpdf/QUtil.hh> | 28 | #include <qpdf/QUtil.hh> |
| 29 | -#include <algorithm> | ||
| 30 | #include <iostream> | 29 | #include <iostream> |
| 31 | #include <limits.h> | 30 | #include <limits.h> |
| 32 | #include <map> | 31 | #include <map> |
qpdf/test_renumber.cc
| 1 | -#include <qpdf/Buffer.hh> | ||
| 2 | #include <qpdf/Constants.h> | 1 | #include <qpdf/Constants.h> |
| 3 | #include <qpdf/QPDF.hh> | 2 | #include <qpdf/QPDF.hh> |
| 4 | #include <qpdf/QPDFObjGen.hh> | 3 | #include <qpdf/QPDFObjGen.hh> |
| @@ -6,7 +5,6 @@ | @@ -6,7 +5,6 @@ | ||
| 6 | #include <qpdf/QPDFWriter.hh> | 5 | #include <qpdf/QPDFWriter.hh> |
| 7 | #include <qpdf/QPDFXRefEntry.hh> | 6 | #include <qpdf/QPDFXRefEntry.hh> |
| 8 | 7 | ||
| 9 | -#include <algorithm> | ||
| 10 | #include <cstdlib> | 8 | #include <cstdlib> |
| 11 | #include <iostream> | 9 | #include <iostream> |
| 12 | #include <set> | 10 | #include <set> |
qpdf/test_shell_glob.cc
qpdf/test_tokenizer.cc
| @@ -4,7 +4,6 @@ | @@ -4,7 +4,6 @@ | ||
| 4 | #include <qpdf/QIntC.hh> | 4 | #include <qpdf/QIntC.hh> |
| 5 | #include <qpdf/QPDF.hh> | 5 | #include <qpdf/QPDF.hh> |
| 6 | #include <qpdf/QPDFPageDocumentHelper.hh> | 6 | #include <qpdf/QPDFPageDocumentHelper.hh> |
| 7 | -#include <qpdf/QPDFPageObjectHelper.hh> | ||
| 8 | #include <qpdf/QPDFTokenizer.hh> | 7 | #include <qpdf/QPDFTokenizer.hh> |
| 9 | #include <qpdf/QUtil.hh> | 8 | #include <qpdf/QUtil.hh> |
| 10 | #include <iostream> | 9 | #include <iostream> |
qpdf/test_xref.cc
| 1 | #include <qpdf/QPDF.hh> | 1 | #include <qpdf/QPDF.hh> |
| 2 | -#include <qpdf/QPDFObjGen.hh> | ||
| 3 | -#include <qpdf/QPDFXRefEntry.hh> | ||
| 4 | 2 | ||
| 5 | #include <cstdlib> | 3 | #include <cstdlib> |
| 6 | #include <iostream> | 4 | #include <iostream> |
| 7 | #include <map> | 5 | #include <map> |
| 8 | -#include <string> | ||
| 9 | 6 | ||
| 10 | int | 7 | int |
| 11 | main(int argc, char* argv[]) | 8 | main(int argc, char* argv[]) |