summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fsdk_mgr.cpp7
-rw-r--r--fpdfsdk/include/fsdk_mgr.h1
2 files changed, 0 insertions, 8 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);
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index a93f9da64a..a0adf04823 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -555,7 +555,6 @@ class CPDFSDK_PageView final : public CPDF_Page::View {
return m_pSDKDoc->KillFocusAnnot(nFlag);
}
void KillFocusAnnotIfNeeded();
- FX_BOOL Annot_HasAppearance(CPDF_Annot* pAnnot);
CPDFSDK_Annot* AddAnnot(CPDF_Dictionary* pDict);
CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict);