fix deleted destination link

This commit is contained in:
Kulikova Svetlana
2022-03-29 16:17:46 +03:00
parent 240a553c55
commit 441ec10b5f

View File

@ -562,6 +562,8 @@ return 0;
}
else
pg = pLinkDest->getPageNum();
if (pg == 0)
pg = 1;
double dy = pdfDoc->getPageCropHeight(pg) - pLinkDest->getTop();
if (str)
RELEASEOBJECT(pLinkDest);