Index: fpdfsdk/fsdk_mgr.cpp |
diff --git a/fpdfsdk/fsdk_mgr.cpp b/fpdfsdk/fsdk_mgr.cpp |
index 32cc39622bb7fe6db3ca585ad12231c8a34eedb4..b74677457ac84d2e25edb27e9945efa96dd305a4 100644 |
--- a/fpdfsdk/fsdk_mgr.cpp |
+++ b/fpdfsdk/fsdk_mgr.cpp |
@@ -904,11 +904,11 @@ void CPDFSDK_PageView::LoadFXAnnots() { |
#ifdef PDF_ENABLE_XFA |
CPDFSDK_AnnotHandlerMgr* pAnnotHandlerMgr = pEnv->GetAnnotHandlerMgr(); |
#else |
- FX_BOOL enableAPUpdate = CPDF_InterForm::UpdatingAPEnabled(); |
+ FX_BOOL bUpdateAP = CPDF_InterForm::UpdateAPEnabled(); |
// Disable the default AP construction. |
- CPDF_InterForm::EnableUpdateAP(FALSE); |
+ CPDF_InterForm::SetUpdateAP(FALSE); |
m_pAnnotList.reset(new CPDF_AnnotList(m_page)); |
- CPDF_InterForm::EnableUpdateAP(enableAPUpdate); |
+ CPDF_InterForm::SetUpdateAP(bUpdateAP); |
const size_t nCount = m_pAnnotList->Count(); |
#endif // PDF_ENABLE_XFA |