summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_document.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index 37d977ec4c..0aeb91974a 100644
--- a/fpdfsdk/cpdfsdk_document.cpp
+++ b/fpdfsdk/cpdfsdk_document.cpp
@@ -22,14 +22,6 @@
#include "fpdfsdk/fsdk_actionhandler.h"
#include "third_party/base/ptr_util.h"
-// static
-CPDFSDK_Document* CPDFSDK_Document::FromFPDFFormHandle(
- FPDF_FORMHANDLE hHandle) {
- CPDFSDK_FormFillEnvironment* pEnv =
- static_cast<CPDFSDK_FormFillEnvironment*>(hHandle);
- return pEnv ? pEnv->GetSDKDocument() : nullptr;
-}
-
CPDFSDK_Document::CPDFSDK_Document(UnderlyingDocumentType* pDoc,
CPDFSDK_FormFillEnvironment* pEnv)
: m_pDoc(pDoc),