summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_mgr.cpp
diff options
context:
space:
mode:
authortonikitoo <tonikitoo@igalia.com>2016-08-25 07:42:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-25 07:42:15 -0700
commite5cbb33e2d6db82c2904dae689eb38b7a4587297 (patch)
treef51bfcc5bbaf90e3f7f8512366e64e329d5ca412 /fpdfsdk/fsdk_mgr.cpp
parentdbb6266b8b87746fc3241ad6802289da6fb10114 (diff)
downloadpdfium-e5cbb33e2d6db82c2904dae689eb38b7a4587297.tar.xz
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
Diffstat (limited to 'fpdfsdk/fsdk_mgr.cpp')
-rw-r--r--fpdfsdk/fsdk_mgr.cpp7
1 files changed, 0 insertions, 7 deletions
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);