mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug 76484
This commit is contained in:
@ -1405,10 +1405,8 @@ namespace PdfWriter
|
||||
std::string sValue = U_TO_UTF8(wsT);
|
||||
CDictObject* pOwner = GetObjOwnValue("T");
|
||||
if (!pOwner)
|
||||
{
|
||||
pOwner = this;
|
||||
pOwner->Add("T", new CStringObject(sValue.c_str(), true));
|
||||
}
|
||||
pOwner->Add("T", new CStringObject(sValue.c_str(), true));
|
||||
}
|
||||
void CWidgetAnnotation::SetBC(const std::vector<double>& arrBC)
|
||||
{
|
||||
|
||||
@ -741,6 +741,7 @@ namespace PdfWriter
|
||||
}
|
||||
void CDocument::AddAnnotation(const int& nID, CAnnotation* pAnnot)
|
||||
{
|
||||
pAnnot->SetXref(m_pXref);
|
||||
m_mAnnotations[nID] = pAnnot;
|
||||
}
|
||||
CImageDict* CDocument::CreateImage()
|
||||
|
||||
Reference in New Issue
Block a user