Fix bug 74890

This commit is contained in:
Svetlana Kulikova
2025-06-04 13:03:36 +03:00
parent cae981891b
commit 8123c0e409
6 changed files with 43 additions and 19 deletions

View File

@ -883,7 +883,7 @@ namespace PdfWriter
if (pEntry->nEntryType == FREE_ENTRY)
{
if (pNextFreeObj)
pNextFreeObj->unByteOffset = pXref->m_unStartOffset;
pNextFreeObj->unByteOffset = pXref->m_unStartOffset + unIndex;
pNextFreeObj = pEntry;
}
else