mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-22 22:58:33 +00:00
Use pipePageContents in tokenizer test
This commit is contained in:
parent
6afe83978f
commit
cc108a7f1b
@ -213,13 +213,7 @@ static void process(char const* filename, bool include_ignorable,
|
||||
{
|
||||
++pageno;
|
||||
Pl_Buffer plb("buffer");
|
||||
std::vector<QPDFObjectHandle> contents = (*iter).getPageContents();
|
||||
for (std::vector<QPDFObjectHandle>::iterator citer = contents.begin();
|
||||
citer != contents.end(); ++citer)
|
||||
{
|
||||
(*citer).pipeStreamData(&plb, 0, qpdf_dl_specialized);
|
||||
}
|
||||
plb.finish();
|
||||
(*iter).pipePageContents(&plb);
|
||||
PointerHolder<Buffer> content_data = plb.getBuffer();
|
||||
BufferInputSource* bis = new BufferInputSource(
|
||||
"content data", content_data.getPointer());
|
||||
|
Loading…
x
Reference in New Issue
Block a user