mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix RefTo id
This commit is contained in:
committed by
Oleg Korshul
parent
686fc60860
commit
1837a2737e
@ -1668,7 +1668,8 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
|
||||
PdfWriter::CPage* pPage = m_pPage;
|
||||
|
||||
int nID = oInfo.GetID();
|
||||
pAnnot = m_pDocument->GetAnnot(nID);
|
||||
if (nID > 0)
|
||||
pAnnot = m_pDocument->GetAnnot(nID);
|
||||
|
||||
if (pAnnot && pOrigPage && pPage != pOrigPage)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user