diff options
Diffstat (limited to 'core/src/fpdfdoc/doc_tagged.cpp')
-rw-r--r-- | core/src/fpdfdoc/doc_tagged.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/fpdfdoc/doc_tagged.cpp b/core/src/fpdfdoc/doc_tagged.cpp index fe7e5e13b9..d8e24c78b3 100644 --- a/core/src/fpdfdoc/doc_tagged.cpp +++ b/core/src/fpdfdoc/doc_tagged.cpp @@ -19,7 +19,7 @@ CPDF_StructTree* CPDF_StructTree::LoadPage(const CPDF_Document* pDoc, if (!IsTagged(pDoc)) { return NULL; } - CPDF_StructTreeImpl* pTree = FX_NEW CPDF_StructTreeImpl(pDoc); + CPDF_StructTreeImpl* pTree = new CPDF_StructTreeImpl(pDoc); if (pTree == NULL) { return NULL; } @@ -30,7 +30,7 @@ CPDF_StructTree* CPDF_StructTree::LoadDoc(const CPDF_Document* pDoc) { if (!IsTagged(pDoc)) { return NULL; } - CPDF_StructTreeImpl* pTree = FX_NEW CPDF_StructTreeImpl(pDoc); + CPDF_StructTreeImpl* pTree = new CPDF_StructTreeImpl(pDoc); if (pTree == NULL) { return NULL; } @@ -62,7 +62,7 @@ void CPDF_StructTreeImpl::LoadDocTree() { } if (pKids->GetType() == PDFOBJ_DICTIONARY) { CPDF_StructElementImpl* pStructElementImpl = - FX_NEW CPDF_StructElementImpl(this, NULL, (CPDF_Dictionary*)pKids); + new CPDF_StructElementImpl(this, NULL, (CPDF_Dictionary*)pKids); if (pStructElementImpl == NULL) { return; } @@ -76,7 +76,7 @@ void CPDF_StructTreeImpl::LoadDocTree() { for (FX_DWORD i = 0; i < pArray->GetCount(); i++) { CPDF_Dictionary* pKid = pArray->GetDict(i); CPDF_StructElementImpl* pStructElementImpl = - FX_NEW CPDF_StructElementImpl(this, NULL, pKid); + new CPDF_StructElementImpl(this, NULL, pKid); if (pStructElementImpl == NULL) { return; } @@ -137,7 +137,7 @@ CPDF_StructElementImpl* CPDF_StructTreeImpl::AddPageNode(CPDF_Dictionary* pDict, if (map.Lookup(pDict, (void*&)pElement)) { return pElement; } - pElement = FX_NEW CPDF_StructElementImpl(this, NULL, pDict); + pElement = new CPDF_StructElementImpl(this, NULL, pDict); if (pElement == NULL) { return NULL; } @@ -321,7 +321,7 @@ void CPDF_StructElementImpl::LoadKid(FX_DWORD PageObjNum, pKid->m_Element.m_pDict = pKidDict; if (m_pTree->m_pPage == NULL) { pKid->m_Element.m_pElement = - FX_NEW CPDF_StructElementImpl(m_pTree, this, pKidDict); + new CPDF_StructElementImpl(m_pTree, this, pKidDict); } else { pKid->m_Element.m_pElement = NULL; } |