summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-05-20 12:25:58 +0200
committerm-holger <m-holger@kubitscheck.org>2023-05-20 16:37:41 +0200
commit7f043fe88ed8d7ce14a67cbfaf0c0b18015b8f9f (patch)
treedd5e18777e6f87f837232ba217dee54975e78394 /examples
parenta6d7b79e65941238871c0c3d7d06b9bf246213ba (diff)
downloadqpdf-7f043fe88ed8d7ce14a67cbfaf0c0b18015b8f9f.tar.zst
Remove unused include directives
Diffstat (limited to 'examples')
-rw-r--r--examples/pdf-count-strings.cc2
-rw-r--r--examples/pdf-create.cc2
-rw-r--r--examples/pdf-filter-tokens.cc2
-rw-r--r--examples/pdf-name-number-tree.cc1
-rw-r--r--examples/pdf-overlay-page.cc1
-rw-r--r--examples/pdf-parse-content.cc1
-rw-r--r--examples/pdf-set-form-values.cc2
-rw-r--r--examples/qpdf-job.cc2
-rw-r--r--examples/qpdfjob-c-save-attachment.c1
-rw-r--r--examples/qpdfjob-remove-annotations.cc1
10 files changed, 0 insertions, 15 deletions
diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc
index 529f6bdc..09c4a1f5 100644
--- a/examples/pdf-count-strings.cc
+++ b/examples/pdf-count-strings.cc
@@ -6,13 +6,11 @@
#include <iostream>
#include <stdlib.h>
-#include <string.h>
#include <qpdf/Pl_StdioFile.hh>
#include <qpdf/QPDF.hh>
#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDFPageDocumentHelper.hh>
-#include <qpdf/QPDFPageObjectHelper.hh>
#include <qpdf/QUtil.hh>
static char const* whoami = nullptr;
diff --git a/examples/pdf-create.cc b/examples/pdf-create.cc
index 527243a7..56af4a8d 100644
--- a/examples/pdf-create.cc
+++ b/examples/pdf-create.cc
@@ -12,13 +12,11 @@
#include <qpdf/QPDF.hh>
#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDFPageDocumentHelper.hh>
-#include <qpdf/QPDFPageObjectHelper.hh>
#include <qpdf/QPDFWriter.hh>
#include <qpdf/QUtil.hh>
#include <iostream>
#include <memory>
#include <stdlib.h>
-#include <string.h>
static char const* whoami = nullptr;
diff --git a/examples/pdf-filter-tokens.cc b/examples/pdf-filter-tokens.cc
index a99ce70c..8824b391 100644
--- a/examples/pdf-filter-tokens.cc
+++ b/examples/pdf-filter-tokens.cc
@@ -9,12 +9,10 @@
#include <deque>
#include <iostream>
#include <stdlib.h>
-#include <string.h>
#include <qpdf/QPDF.hh>
#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDFPageDocumentHelper.hh>
-#include <qpdf/QPDFPageObjectHelper.hh>
#include <qpdf/QPDFWriter.hh>
#include <qpdf/QUtil.hh>
diff --git a/examples/pdf-name-number-tree.cc b/examples/pdf-name-number-tree.cc
index f9dcb0fc..e1dfde05 100644
--- a/examples/pdf-name-number-tree.cc
+++ b/examples/pdf-name-number-tree.cc
@@ -3,7 +3,6 @@
#include <qpdf/QPDFNumberTreeObjectHelper.hh>
#include <qpdf/QPDFWriter.hh>
#include <qpdf/QUtil.hh>
-#include <cstring>
#include <iostream>
static char const* whoami = nullptr;
diff --git a/examples/pdf-overlay-page.cc b/examples/pdf-overlay-page.cc
index 04a1e921..d40bf0e1 100644
--- a/examples/pdf-overlay-page.cc
+++ b/examples/pdf-overlay-page.cc
@@ -5,7 +5,6 @@
#include <qpdf/QUtil.hh>
#include <iostream>
#include <stdlib.h>
-#include <string.h>
// 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 481633e6..85abcabc 100644
--- a/examples/pdf-parse-content.cc
+++ b/examples/pdf-parse-content.cc
@@ -1,6 +1,5 @@
#include <iostream>
#include <stdlib.h>
-#include <string.h>
#include <qpdf/QIntC.hh>
#include <qpdf/QPDF.hh>
diff --git a/examples/pdf-set-form-values.cc b/examples/pdf-set-form-values.cc
index 1398c0dd..281e139e 100644
--- a/examples/pdf-set-form-values.cc
+++ b/examples/pdf-set-form-values.cc
@@ -4,9 +4,7 @@
#include <qpdf/QPDFWriter.hh>
#include <qpdf/QUtil.hh>
#include <iostream>
-#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
static char const* whoami = nullptr;
diff --git a/examples/qpdf-job.cc b/examples/qpdf-job.cc
index 614abbe6..c7131f77 100644
--- a/examples/qpdf-job.cc
+++ b/examples/qpdf-job.cc
@@ -1,8 +1,6 @@
-#include <qpdf/QIntC.hh>
#include <qpdf/QPDFJob.hh>
#include <qpdf/QUtil.hh>
-#include <cstring>
#include <iostream>
// This program is a simple demonstration of different ways to use the
diff --git a/examples/qpdfjob-c-save-attachment.c b/examples/qpdfjob-c-save-attachment.c
index 39d1f69a..301bf635 100644
--- a/examples/qpdfjob-c-save-attachment.c
+++ b/examples/qpdfjob-c-save-attachment.c
@@ -1,4 +1,3 @@
-#include <qpdf/Constants.h>
#include <qpdf/qpdfjob-c.h>
#include <qpdf/qpdflogger-c.h>
diff --git a/examples/qpdfjob-remove-annotations.cc b/examples/qpdfjob-remove-annotations.cc
index dfab3f7b..fd8754d5 100644
--- a/examples/qpdfjob-remove-annotations.cc
+++ b/examples/qpdfjob-remove-annotations.cc
@@ -4,7 +4,6 @@
#include <cstdio>
#include <cstdlib>
-#include <cstring>
#include <iostream>
// This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF