From e5cbb33e2d6db82c2904dae689eb38b7a4587297 Mon Sep 17 00:00:00 2001 From: tonikitoo Date: Thu, 25 Aug 2016 07:42:15 -0700 Subject: Drop CPDFSDK_PageView::Annot_HasAppearance Method is unused and misplaced (it should be in CPF_Annot if actually needed). Review-Url: https://codereview.chromium.org/2278613003 --- fpdfsdk/fsdk_mgr.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'fpdfsdk/fsdk_mgr.cpp') diff --git a/fpdfsdk/fsdk_mgr.cpp b/fpdfsdk/fsdk_mgr.cpp index 932bcece9d..24efd4077d 100644 --- a/fpdfsdk/fsdk_mgr.cpp +++ b/fpdfsdk/fsdk_mgr.cpp @@ -640,13 +640,6 @@ void CPDFSDK_PageView::KillFocusAnnotIfNeeded() { } } -FX_BOOL CPDFSDK_PageView::Annot_HasAppearance(CPDF_Annot* pAnnot) { - CPDF_Dictionary* pAnnotDic = pAnnot->GetAnnotDict(); - if (pAnnotDic) - return pAnnotDic->KeyExist("AS"); - return FALSE; -} - CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Annot* pPDFAnnot) { CPDFDoc_Environment* pEnv = m_pSDKDoc->GetEnv(); ASSERT(pEnv); -- cgit v1.2.3