Skip to content

Commit c5c9798

Browse files
authored
Merge pull request #438 from cantabular/poppler-25.12.0
Update to Poppler 25.12.0
2 parents 6cb8fc9 + 94312b1 commit c5c9798

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ void pack_stream_content(Stream *stream) {
203203
stream->fillGooString(&content);
204204
stream->close();
205205

206-
packer.pack_bin(content.getLength());
207-
packer.pack_bin_body(content.toStr().c_str(), content.getLength());
206+
packer.pack_bin(content.size());
207+
packer.pack_bin_body(content.toStr().c_str(), content.size());
208208
}
209209

210210
void pack_string(const GooString *string) {
211-
if (!string || string->getLength() <= 0)
211+
if (!string || string->size() <= 0)
212212
packer.pack_nil();
213213
else
214214
packer.pack(string->toStr());

0 commit comments

Comments
 (0)