diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-07-25 17:26:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-25 17:26:28 +0000 |
commit | 1b54bc1474af7923f6b82496924978cb87844ff0 (patch) | |
tree | 440ee4b9cbfabd526815e2d57dd5af19063ee6fc /xfa/fxfa/parser/cxfa_event.cpp | |
parent | 96b0d1332430e34219334373aeb0f6a85eb8ad68 (diff) | |
download | pdfium-1b54bc1474af7923f6b82496924978cb87844ff0.tar.xz |
Disable submit in XFA forms.
Bug: chromium:842503
Change-Id: If411815d8324929f482e3cad0fda54f24d370c2a
Reviewed-on: https://pdfium-review.googlesource.com/37830
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_event.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_event.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_event.cpp b/xfa/fxfa/parser/cxfa_event.cpp index 3dfa8b870e..8b4a0b56a2 100644 --- a/xfa/fxfa/parser/cxfa_event.cpp +++ b/xfa/fxfa/parser/cxfa_event.cpp @@ -73,6 +73,8 @@ CXFA_Script* CXFA_Event::GetScriptIfExists() { return GetChild<CXFA_Script>(0, XFA_Element::Script, false); } +#ifdef PDF_XFA_ELEMENT_SUBMIT_ENABLED CXFA_Submit* CXFA_Event::GetSubmitIfExists() { return GetChild<CXFA_Submit>(0, XFA_Element::Submit, false); } +#endif // PDF_XFA_ELEMENT_SUBMIT_ENABLED |