mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
fix deleted destination link
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user