Files
loongoffice/vcl/source/filter
Justin Luth 6fe0de9c0b PDFDocument::ReadWithPossibleFixup: clear before reading fixup
Ensure that a read of the pdfdocument
does not use info from failed previous reads.

The result in the problematic documents
was that GetCatalog failed because it was looking
for an m_aTrailerOffset[0] from the failed read,
and thus only empty pages were exported.

I failed to create a clean-room document,
and the single existing unit test that needs a fixup
has the trailer at the same GetPosition,
which replaced the m_aTrailerOffset
instead of creating a second entry.

Change-Id: I470b922323a2b2ebb6d4bbaa58c98f5cc492b750
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174652
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-10-08 14:03:25 +02:00
..
2024-08-11 20:14:54 +02:00
2024-08-11 20:14:54 +02:00
2024-08-18 11:04:45 +02:00
2024-08-20 21:14:18 +02:00