summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_calculate.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-04 01:49:37 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-04 01:49:37 +0000
commitc5d5729700a4d145cd298ec52f6f57b2d11aaafe (patch)
treeb9929296fc45c754d5f7748613cec15020664052 /xfa/fxfa/parser/cxfa_calculate.cpp
parentcf705715c5311057933ac03b395d9ea75b6f0660 (diff)
downloadpdfium-c5d5729700a4d145cd298ec52f6f57b2d11aaafe.tar.xz
Remove default values from CXFA_Node::{CountChildren|GetChild}chromium/3259
This CL removes the default values and inlines into the call sites as needed. Change-Id: I554e9d5ac781003695f90522f9c6c3160653eb59 Reviewed-on: https://pdfium-review.googlesource.com/17572 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_calculate.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_calculate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_calculate.cpp b/xfa/fxfa/parser/cxfa_calculate.cpp
index 4a51b2d4ef..6f5c8a664a 100644
--- a/xfa/fxfa/parser/cxfa_calculate.cpp
+++ b/xfa/fxfa/parser/cxfa_calculate.cpp
@@ -18,15 +18,15 @@ int32_t CXFA_Calculate::GetOverride() {
}
CXFA_Script CXFA_Calculate::GetScript() {
- return CXFA_Script(m_pNode->GetChild(0, XFA_Element::Script));
+ return CXFA_Script(m_pNode->GetChild(0, XFA_Element::Script, false));
}
void CXFA_Calculate::GetMessageText(WideString& wsMessage) {
- CXFA_Node* pNode = m_pNode->GetChild(0, XFA_Element::Message);
+ CXFA_Node* pNode = m_pNode->GetChild(0, XFA_Element::Message, false);
if (!pNode)
return;
- CXFA_Text text(pNode->GetChild(0, XFA_Element::Text));
+ CXFA_Text text(pNode->GetChild(0, XFA_Element::Text, false));
if (text)
text.GetContent(wsMessage);
}