aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2015-11-10 18:22:40 +0100
committerJay Berkenbilt <ejb@ql.org>2015-11-10 18:22:40 +0100
commite0e9d646740285f5305c59dc420e39129a80594a (patch)
tree5f8071fcd2a6ae1adb83ce056d0453d37ab8a68a /libqpdf/QPDFWriter.cc
parente5abc789a26732552388fb9ca97985f8401327b1 (diff)
downloadqpdf-e0e9d646740285f5305c59dc420e39129a80594a.tar.zst
Remove some ABI compatibility private methods
Since we have to bump soname, remove some private methods that were just there for binary compatibility
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r--libqpdf/QPDFWriter.cc21
1 files changed, 1 insertions, 20 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc
index ef3210c6..01748fc7 100644
--- a/libqpdf/QPDFWriter.cc
+++ b/libqpdf/QPDFWriter.cc
@@ -1110,13 +1110,6 @@ QPDFWriter::unparseChild(QPDFObjectHandle child, int level, int flags)
void
QPDFWriter::writeTrailer(trailer_e which, int size, bool xref_stream,
- qpdf_offset_t prev)
-{
- writeTrailer(which, size, xref_stream, prev, 0);
-}
-
-void
-QPDFWriter::writeTrailer(trailer_e which, int size, bool xref_stream,
qpdf_offset_t prev, int linearization_pass)
{
QPDFObjectHandle trailer = getTrimmedTrailer();
@@ -2468,18 +2461,7 @@ QPDFWriter::writeHintStream(int hint_id)
qpdf_offset_t
QPDFWriter::writeXRefTable(trailer_e which, int first, int last, int size)
{
- return writeXRefTable(which, first, last, size, 0, false, 0, 0, 0);
-}
-
-qpdf_offset_t
-QPDFWriter::writeXRefTable(trailer_e which, int first, int last, int size,
- qpdf_offset_t prev, bool suppress_offsets,
- int hint_id, qpdf_offset_t hint_offset,
- qpdf_offset_t hint_length)
-{
- // ABI compatibility
- return writeXRefTable(which, first, last, size, prev, suppress_offsets,
- hint_id, hint_offset, hint_length, 0);
+ return writeXRefTable(which, first, last, size, 0, false, 0, 0, 0, 0);
}
qpdf_offset_t
@@ -2526,7 +2508,6 @@ qpdf_offset_t
QPDFWriter::writeXRefStream(int objid, int max_id, qpdf_offset_t max_offset,
trailer_e which, int first, int last, int size)
{
- // ABI compatibility
return writeXRefStream(objid, max_id, max_offset,
which, first, last, size, 0, 0, 0, 0, false, 0);
}