Index: fpdfsdk/src/fsdk_mgr.cpp |
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp |
index 36e48117aead073e98b5d8d20f3436741fcfe192..a8fd5eee7f0dd52c5d9d085275e6a6499d39037b 100644 |
--- a/fpdfsdk/src/fsdk_mgr.cpp |
+++ b/fpdfsdk/src/fsdk_mgr.cpp |
@@ -617,7 +617,7 @@ CPDFSDK_PageView::CPDFSDK_PageView(CPDFSDK_Document* pSDKDoc,CPDF_Page* page):m_ |
CPDF_InterForm* pPDFInterForm = pInterForm->GetInterForm(); |
pPDFInterForm->FixPageFields(page); |
} |
- m_page->SetPrivateData((FX_LPVOID)m_page, (FX_LPVOID)this, NULL); |
+ m_page->SetPrivateData((void*)m_page, (void*)this, NULL); |
m_fxAnnotArray.RemoveAll(); |
m_bEnterWidget = FALSE; |
@@ -650,7 +650,7 @@ CPDFSDK_PageView::~CPDFSDK_PageView() |
delete m_pAnnotList; |
m_pAnnotList = NULL; |
} |
- m_page->RemovePrivateData((FX_LPVOID)m_page); |
+ m_page->RemovePrivateData((void*)m_page); |
if(m_bTakeOverPage) { |
delete m_page; |
} |
@@ -790,7 +790,7 @@ CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Dictionary * pDict) |
return NULL; |
} |
-CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(FX_LPCSTR lpSubType,CPDF_Dictionary * pDict) |
+CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(const FX_CHAR* lpSubType,CPDF_Dictionary * pDict) |
{ |
return NULL; |
} |
@@ -1049,7 +1049,7 @@ int CPDFSDK_PageView::GetPageIndex() |
return -1; |
} |
-FX_BOOL CPDFSDK_PageView::IsValidAnnot(FX_LPVOID p) |
+FX_BOOL CPDFSDK_PageView::IsValidAnnot(void* p) |
{ |
if (p == NULL) return FALSE; |
int iCount = m_pAnnotList->Count(); |