From a7e269537d8f4b33d1bc8a5a83c53432db9b7560 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 24 Sep 2010 20:45:18 +0000 Subject: update code to new PointerHolder, and reintroduce change that was accidentally backed out git-svn-id: svn+q:///qpdf/trunk@1031 71b93d88-0707-0410-a8cf-f5a4172ac649 --- libqpdf/Pl_Buffer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libqpdf/Pl_Buffer.cc') 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 bph = this->data.front(); + PointerHolder bp = this->data.front(); this->data.pop_front(); - Buffer* bp = bph.getPointer(); size_t bytes = bp->getSize(); memcpy(p, bp->getBuffer(), bytes); p += bytes; -- cgit v1.2.3-54-g00ecf