From 9398e8b365416e07c6c31485c9ecf9674e2c71b4 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 11 Jan 2018 18:29:53 +0000 Subject: Rename CXFA_Event methods This CL renames CXFA_Event methods for clarity and fixes callers where needed. Change-Id: I902a35f36ee91c1b4aadd10382d93988ef26dc1c Reviewed-on: https://pdfium-review.googlesource.com/22750 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_event.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_event.cpp') diff --git a/xfa/fxfa/parser/cxfa_event.cpp b/xfa/fxfa/parser/cxfa_event.cpp index 9eef655d31..d4af2fff8e 100644 --- a/xfa/fxfa/parser/cxfa_event.cpp +++ b/xfa/fxfa/parser/cxfa_event.cpp @@ -69,10 +69,10 @@ WideString CXFA_Event::GetRef() { return JSObject()->GetCData(XFA_Attribute::Ref); } -CXFA_Script* CXFA_Event::GetScript() { +CXFA_Script* CXFA_Event::GetScriptIfExists() { return GetChild(0, XFA_Element::Script, false); } -CXFA_Submit* CXFA_Event::GetSubmit() { +CXFA_Submit* CXFA_Event::GetSubmitIfExists() { return GetChild(0, XFA_Element::Submit, false); } -- cgit v1.2.3