Commit 3b3bcab349ace035252d40908d58159d83f4d506
Committed by
Jay Berkenbilt
1 parent
9eda1fdc
Remove QPDF_Stream::setStreamDescription
Showing
2 changed files
with
5 additions
and
12 deletions
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