aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Stream.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-06-25 12:46:47 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-06-25 14:26:46 +0200
commit3b3bcab349ace035252d40908d58159d83f4d506 (patch)
treec327f92629b071ee4af48d190bb6505a06d19f7b /libqpdf/QPDF_Stream.cc
parent9eda1fdc41fcc5a5ede4fdcf8ec355f1fc610699 (diff)
downloadqpdf-3b3bcab349ace035252d40908d58159d83f4d506.tar.zst
Remove QPDF_Stream::setStreamDescription
Diffstat (limited to 'libqpdf/QPDF_Stream.cc')
-rw-r--r--libqpdf/QPDF_Stream.cc16
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;