diff options
Diffstat (limited to 'libqpdf/Pl_Buffer.cc')
-rw-r--r-- | libqpdf/Pl_Buffer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/Pl_Buffer.cc b/libqpdf/Pl_Buffer.cc index 1729b2c3..38af153d 100644 --- a/libqpdf/Pl_Buffer.cc +++ b/libqpdf/Pl_Buffer.cc @@ -51,9 +51,8 @@ Pl_Buffer::getBuffer() unsigned char* p = b->getBuffer(); while (! this->data.empty()) { - PointerHolder<Buffer> bph = this->data.front(); + PointerHolder<Buffer> bp = this->data.front(); this->data.pop_front(); - Buffer* bp = bph.getPointer(); size_t bytes = bp->getSize(); memcpy(p, bp->getBuffer(), bytes); p += bytes; |