mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix build
This commit is contained in:
@ -1717,7 +1717,7 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
|
||||
{
|
||||
pAnnot = m_pDocument->CreatePopupAnnot();
|
||||
}
|
||||
else if (oInfo.isFreeText())
|
||||
else if (oInfo.IsFreeText())
|
||||
{
|
||||
pAnnot = m_pDocument->CreateFreeTextAnnot();
|
||||
}
|
||||
@ -1885,7 +1885,7 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
|
||||
if (nFlags & (1 << 1))
|
||||
pPopupAnnot->SetParentID(pPr->GetParentID());
|
||||
}
|
||||
else if (oInfo.isFreeText())
|
||||
else if (oInfo.IsFreeText())
|
||||
{
|
||||
CAnnotFieldInfo::CFreeTextAnnotPr* pPr = oInfo.GetFreeTextAnnotPr();
|
||||
PdfWriter::CFreeTextAnnotation* pFreeTextAnnot = (PdfWriter::CFreeTextAnnotation*)pAnnot;
|
||||
|
||||
Reference in New Issue
Block a user