mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-08 17:24:06 +00:00
Remove QPDF_Stream::setStreamDescription
This commit is contained in:
parent
9eda1fdc41
commit
3b3bcab349
@ -127,7 +127,11 @@ QPDF_Stream::QPDF_Stream(
|
||||
throw std::logic_error("stream object instantiated with non-dictionary "
|
||||
"object for dictionary");
|
||||
}
|
||||
setStreamDescription();
|
||||
setDescription(
|
||||
this->qpdf,
|
||||
this->qpdf->getFilename() + ", stream object " +
|
||||
QUtil::int_to_string(this->objid) + " " +
|
||||
QUtil::int_to_string(this->generation));
|
||||
}
|
||||
|
||||
void
|
||||
@ -296,16 +300,6 @@ QPDF_Stream::setDescription(QPDF* qpdf, std::string const& description)
|
||||
setDictDescription();
|
||||
}
|
||||
|
||||
void
|
||||
QPDF_Stream::setStreamDescription()
|
||||
{
|
||||
setDescription(
|
||||
this->qpdf,
|
||||
this->qpdf->getFilename() + ", stream object " +
|
||||
QUtil::int_to_string(this->objid) + " " +
|
||||
QUtil::int_to_string(this->generation));
|
||||
}
|
||||
|
||||
void
|
||||
QPDF_Stream::setDictDescription()
|
||||
{
|
||||
|
@ -101,7 +101,6 @@ class QPDF_Stream: public QPDFObject
|
||||
qpdf_offset_t offset,
|
||||
std::string const& message);
|
||||
void setDictDescription();
|
||||
void setStreamDescription();
|
||||
|
||||
QPDF* qpdf;
|
||||
int objid;
|
||||
|
Loading…
Reference in New Issue
Block a user