Commit 3b3bcab349ace035252d40908d58159d83f4d506

Authored by m-holger
Committed by Jay Berkenbilt
1 parent 9eda1fdc

Remove QPDF_Stream::setStreamDescription

libqpdf/QPDF_Stream.cc
... ... @@ -127,7 +127,11 @@ QPDF_Stream::QPDF_Stream(
127 127 throw std::logic_error("stream object instantiated with non-dictionary "
128 128 "object for dictionary");
129 129 }
130   - setStreamDescription();
  130 + setDescription(
  131 + this->qpdf,
  132 + this->qpdf->getFilename() + ", stream object " +
  133 + QUtil::int_to_string(this->objid) + " " +
  134 + QUtil::int_to_string(this->generation));
131 135 }
132 136  
133 137 void
... ... @@ -297,16 +301,6 @@ QPDF_Stream::setDescription(QPDF* qpdf, std::string const& description)
297 301 }
298 302  
299 303 void
300   -QPDF_Stream::setStreamDescription()
301   -{
302   - setDescription(
303   - this->qpdf,
304   - this->qpdf->getFilename() + ", stream object " +
305   - QUtil::int_to_string(this->objid) + " " +
306   - QUtil::int_to_string(this->generation));
307   -}
308   -
309   -void
310 304 QPDF_Stream::setDictDescription()
311 305 {
312 306 QPDF* qpdf = 0;
... ...
libqpdf/qpdf/QPDF_Stream.hh
... ... @@ -101,7 +101,6 @@ class QPDF_Stream: public QPDFObject
101 101 qpdf_offset_t offset,
102 102 std::string const& message);
103 103 void setDictDescription();
104   - void setStreamDescription();
105 104  
106 105 QPDF* qpdf;
107 106 int objid;
... ...