From 6ffb03cc9aafeefddde57a68c9257cae9dc505c1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 27 Jan 2016 18:22:06 -0800 Subject: XFA: Remove dead AddDoRecord code. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1640033002 . --- fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'fpdfsdk/src') 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; } -- cgit v1.2.3