From 7c292e0f67e0f0bf4062e0b2adf244e17d7dacb5 Mon Sep 17 00:00:00 2001 From: thestig Date: Wed, 28 Sep 2016 14:14:26 -0700 Subject: Remove dead code from CPDF_InterForm. Remove default arguments. Review-Url: https://codereview.chromium.org/2380753003 --- fpdfsdk/cpdfsdk_pageview.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/cpdfsdk_pageview.cpp') diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp index 900ea48670..f546e385e6 100644 --- a/fpdfsdk/cpdfsdk_pageview.cpp +++ b/fpdfsdk/cpdfsdk_pageview.cpp @@ -6,6 +6,9 @@ #include "fpdfsdk/include/cpdfsdk_pageview.h" +#include +#include + #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" #include "core/fpdfdoc/include/cpdf_annotlist.h" @@ -488,9 +491,9 @@ void CPDFSDK_PageView::LoadFXAnnots() { CPDF_Page* pPage = GetPDFPage(); ASSERT(pPage); - FX_BOOL bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled(); + bool bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled(); // Disable the default AP construction. - CPDF_InterForm::SetUpdateAP(FALSE); + CPDF_InterForm::SetUpdateAP(false); m_pAnnotList.reset(new CPDF_AnnotList(pPage)); CPDF_InterForm::SetUpdateAP(bUpdateAP); -- cgit v1.2.3