Index: fpdfsdk/src/fpdfdoc.cpp |
diff --git a/fpdfsdk/src/fpdfdoc.cpp b/fpdfsdk/src/fpdfdoc.cpp |
index d1f741bca9fbe05b87418c1cb48c74245486159e..6f36674e68c4e2abcff86fe72efa485eac91f868 100644 |
--- a/fpdfsdk/src/fpdfdoc.cpp |
+++ b/fpdfsdk/src/fpdfdoc.cpp |
@@ -173,7 +173,7 @@ DLLEXPORT FPDF_LINK STDCALL FPDFLink_GetLinkAtPoint(FPDF_PAGE page, double x, do |
CPDF_Document* pDoc = pPage->m_pDocument; |
CPDF_LinkList* pLinkList = (CPDF_LinkList*)pDoc->GetPrivateData(&THISMODULE); |
if (!pLinkList) { |
- pLinkList = FX_NEW CPDF_LinkList(pDoc); |
+ pLinkList = new CPDF_LinkList(pDoc); |
pDoc->SetPrivateData(&THISMODULE, pLinkList, ReleaseLinkList); |
} |
return pLinkList->GetLinkAtPoint(pPage, (FX_FLOAT)x, (FX_FLOAT)y).GetDict(); |