Commit 25dd3c67501663353ecdd881bb4322458466cbc0

Authored by Jay Berkenbilt
1 parent c6cfd645

Remove QPDF::copyForeignObject with unused parameter

ChangeLog
1 1 2019-06-21 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * Source-level incompatibility: remove the version
  4 + QPDF::copyForeignObject with an unused boolean parameter. If you
  5 + were, for some reason, calling this, just take the parameter away.
  6 +
3 7 * Source-level incompatibility: rename QUtil::strcasecmp to
4 8 QUtil::str_compare_nocase. This is a non-compatible change, but
5 9 QUtil::strcasecmp is hardly the most important part of qpdf's API.
... ...
1 1 Next ABI
2 2 ========
3 3  
4   - * Get rid of the version of QPDF::copyForeignObject with the bool
5   - unused parameter.
6   -
7 4 * Remove version of QPDFTokenizer::expectInlineImage with no
8 5 arguments.
9 6  
... ...
include/qpdf/QPDF.hh
... ... @@ -934,9 +934,6 @@ class QPDF
934 934 QPDFObjectHandle& stream_dict, bool is_attachment_stream,
935 935 std::vector<PointerHolder<Pipeline> >& heap);
936 936  
937   - // Unused copyForeignObject -- remove at next ABI change
938   - QPDFObjectHandle copyForeignObject(
939   - QPDFObjectHandle foreign, bool unused);
940 937 // Methods to support object copying
941 938 void reserveObjects(QPDFObjectHandle foreign, ObjCopier& obj_copier,
942 939 bool top);
... ...
libqpdf/QPDF.cc
... ... @@ -2142,13 +2142,6 @@ QPDF::replaceReserved(QPDFObjectHandle reserved,
2142 2142 }
2143 2143  
2144 2144 QPDFObjectHandle
2145   -QPDF::copyForeignObject(QPDFObjectHandle foreign, bool)
2146   -{
2147   - // This method will be removed next time the ABI is changed.
2148   - return copyForeignObject(foreign);
2149   -}
2150   -
2151   -QPDFObjectHandle
2152 2145 QPDF::copyForeignObject(QPDFObjectHandle foreign)
2153 2146 {
2154 2147 // Do not preclude use of copyForeignObject on page objects. It is
... ...