diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-06-25 12:46:47 +0200 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-06-25 14:26:46 +0200 |
commit | 3b3bcab349ace035252d40908d58159d83f4d506 (patch) | |
tree | c327f92629b071ee4af48d190bb6505a06d19f7b /libqpdf/QPDF_Stream.cc | |
parent | 9eda1fdc41fcc5a5ede4fdcf8ec355f1fc610699 (diff) | |
download | qpdf-3b3bcab349ace035252d40908d58159d83f4d506.tar.zst |
Remove QPDF_Stream::setStreamDescription
Diffstat (limited to 'libqpdf/QPDF_Stream.cc')
-rw-r--r-- | libqpdf/QPDF_Stream.cc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/libqpdf/QPDF_Stream.cc b/libqpdf/QPDF_Stream.cc index c3e5f747..edb4a739 100644 --- a/libqpdf/QPDF_Stream.cc +++ b/libqpdf/QPDF_Stream.cc @@ -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 @@ -297,16 +301,6 @@ QPDF_Stream::setDescription(QPDF* qpdf, std::string const& description) } 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() { QPDF* qpdf = 0; |