mirror of
https://github.com/qpdf/qpdf.git
synced 2024-09-27 20:49:06 +00:00
Remove redundant method
Remove a redundant method that was equal to another one with additional arguments. This breaks binary compatibility, but there are other ABI breaking changes in the upcoming release, so now is the time to do it.
This commit is contained in:
parent
55ee55394c
commit
05ff619b09
@ -65,8 +65,8 @@ class QPDFObjectHandle
|
|||||||
// QPDFWriter may, in some cases, add compression, but if it
|
// QPDFWriter may, in some cases, add compression, but if it
|
||||||
// does, it will update the filters as needed. Every call to
|
// does, it will update the filters as needed. Every call to
|
||||||
// provideStreamData for a given stream must write the same
|
// provideStreamData for a given stream must write the same
|
||||||
// data.The object ID and generation passed to this method are
|
// data. The object ID and generation passed to this method
|
||||||
// those that belong to the stream on behalf of which the
|
// are those that belong to the stream on behalf of which the
|
||||||
// provider is called. They may be ignored or used by the
|
// provider is called. They may be ignored or used by the
|
||||||
// implementation for indexing or other purposes. This
|
// implementation for indexing or other purposes. This
|
||||||
// information is made available just to make it more
|
// information is made available just to make it more
|
||||||
@ -442,13 +442,8 @@ class QPDFObjectHandle
|
|||||||
bool pipeStreamData(Pipeline*,
|
bool pipeStreamData(Pipeline*,
|
||||||
unsigned long encode_flags,
|
unsigned long encode_flags,
|
||||||
qpdf_stream_decode_level_e decode_level,
|
qpdf_stream_decode_level_e decode_level,
|
||||||
bool suppress_warnings = false);
|
bool suppress_warnings = false,
|
||||||
QPDF_DLL
|
bool will_retry = false);
|
||||||
bool pipeStreamData(Pipeline*,
|
|
||||||
unsigned long encode_flags,
|
|
||||||
qpdf_stream_decode_level_e decode_level,
|
|
||||||
bool suppress_warnings,
|
|
||||||
bool will_retry);
|
|
||||||
|
|
||||||
// Legacy pipeStreamData. This maps to the the flags-based
|
// Legacy pipeStreamData. This maps to the the flags-based
|
||||||
// pipeStreamData as follows:
|
// pipeStreamData as follows:
|
||||||
|
@ -495,16 +495,6 @@ QPDFObjectHandle::getRawStreamData()
|
|||||||
return dynamic_cast<QPDF_Stream*>(obj.getPointer())->getRawStreamData();
|
return dynamic_cast<QPDF_Stream*>(obj.getPointer())->getRawStreamData();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
QPDFObjectHandle::pipeStreamData(Pipeline* p,
|
|
||||||
unsigned long encode_flags,
|
|
||||||
qpdf_stream_decode_level_e decode_level,
|
|
||||||
bool suppress_warnings)
|
|
||||||
{
|
|
||||||
return pipeStreamData(
|
|
||||||
p, encode_flags, decode_level, suppress_warnings, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
QPDFObjectHandle::pipeStreamData(Pipeline* p,
|
QPDFObjectHandle::pipeStreamData(Pipeline* p,
|
||||||
unsigned long encode_flags,
|
unsigned long encode_flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user