From 71c15a5e6652952a94ba3a3ef7ac0392e3a06962 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 19 Aug 2015 10:28:50 -0700 Subject: Extern in .cpp files is a code smell. Part 1. Move to headers so compiler can type check against the definitions. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1299963002 . --- fpdfsdk/src/fsdk_mgr.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'fpdfsdk/src/fsdk_mgr.cpp') diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index 67dea80d0d..fa270cc289 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -916,16 +916,9 @@ FX_BOOL CPDFSDK_PageView::OnKeyDown(int nKeyCode, int nFlag) { } FX_BOOL CPDFSDK_PageView::OnKeyUp(int nKeyCode, int nFlag) { - // if(CPDFSDK_Annot* pAnnot = GetFocusAnnot()) - // { - // CFFL_IFormFiller* pIFormFiller = g_pFormFillApp->GetIFormFiller(); - // return pIFormFiller->OnKeyUp(pAnnot, nKeyCode, nFlag); - // } return FALSE; } -extern void CheckUnSupportAnnot(CPDF_Document* pDoc, CPDF_Annot* pPDFAnnot); - void CPDFSDK_PageView::LoadFXAnnots() { CPDFDoc_Environment* pEnv = m_pSDKDoc->GetEnv(); -- cgit v1.2.3