From 3b3bcab349ace035252d40908d58159d83f4d506 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 25 Jun 2022 11:46:47 +0100 Subject: Remove QPDF_Stream::setStreamDescription --- libqpdf/QPDF_Stream.cc | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'libqpdf/QPDF_Stream.cc') 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 @@ -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() { -- cgit v1.2.3-54-g00ecf