diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-27 18:22:06 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-27 18:22:06 -0800 |
commit | 6ffb03cc9aafeefddde57a68c9257cae9dc505c1 (patch) | |
tree | 8419a83c417d4ee260626d5d99689743d3595878 /fpdfsdk | |
parent | 99ffdb0b9b488d743331646dc410f26b71e1f037 (diff) | |
download | pdfium-6ffb03cc9aafeefddde57a68c9257cae9dc505c1.tar.xz |
XFA: Remove dead AddDoRecord code.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1640033002 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/fsdk_mgr.h | 1 | ||||
-rw-r--r-- | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 12 |
3 files changed, 3 insertions, 12 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h index abe22a7be7..14b07c3059 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h @@ -141,7 +141,7 @@ class CPDFXFA_Document : public IXFA_DocProvider { // Get document path
virtual void GetURL(IXFA_Doc* hDoc, CFX_WideString& wsDocURL);
virtual FX_ARGB GetHighlightColor(IXFA_Doc* hDoc);
- virtual void AddDoRecord(IXFA_Widget* hWidget);
+
/**
*Submit data to email, http, ftp.
* @param[in] hDoc The document handler.
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index cd5db5440f..d686a460cc 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -277,7 +277,6 @@ class CPDFDoc_Environment final { wsURL = CFX_WideString(); } - void FFI_AddDoRecord(FPDF_DOCUMENT document, FPDF_WIDGET hWidget) {} void FFI_PageEvent(FPDF_PAGE page, FPDF_DWORD flag) {} void FFI_GetPageViewRect(FPDF_PAGE page, FS_RECTF& dstRect) { diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp index dbd3bd0bad..09c444eb67 100644 --- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp +++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp @@ -804,19 +804,11 @@ FX_ARGB CPDFXFA_Document::GetHighlightColor(IXFA_Doc* hDoc) { return 0;
}
-void CPDFXFA_Document::AddDoRecord(IXFA_Widget* hWidget) {
- CPDFDoc_Environment* pEnv = m_pSDKDoc->GetEnv();
- if (pEnv == NULL)
- return;
- return;
- // pEnv->FFI_AddDoRecord(this, hWidget);
-}
-
FX_BOOL CPDFXFA_Document::_NotifySubmit(FX_BOOL bPrevOrPost) {
if (bPrevOrPost)
return _OnBeforeNotifySumbit();
- else
- _OnAfterNotifySumbit();
+
+ _OnAfterNotifySumbit();
return TRUE;
}
|