diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 19:15:03 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:15:03 +0000 |
commit | 8946aec4c3e727aae806f9858c2329ce368dd517 (patch) | |
tree | 6d01927599e7c069e957b5ce9f57456f56aacdcb /xfa/fxfa/parser/cxfa_validate.cpp | |
parent | 23aa2b0f8a3202337a40e8dcf3d8340bfd42e004 (diff) | |
download | pdfium-8946aec4c3e727aae806f9858c2329ce368dd517.tar.xz |
Remove default values from CJX_Node::TryContent
This CL removes the default values from TryContent and inlines into the
call sites.
Change-Id: I2d3f41f77364a0b923931479a60e07eae98dd5a9
Reviewed-on: https://pdfium-review.googlesource.com/17550
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_validate.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_validate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_validate.cpp b/xfa/fxfa/parser/cxfa_validate.cpp index 60837161d7..513d6b45c1 100644 --- a/xfa/fxfa/parser/cxfa_validate.cpp +++ b/xfa/fxfa/parser/cxfa_validate.cpp @@ -56,7 +56,7 @@ void CXFA_Validate::GetMessageText(WideString& wsMessage, WideStringView wsName; pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true); if (wsName.IsEmpty() || wsName == wsMessageType) { - pItemNode->JSNode()->TryContent(wsMessage); + pItemNode->JSNode()->TryContent(wsMessage, false, true); return; } } @@ -115,7 +115,7 @@ void CXFA_Validate::SetScriptMessageText(WideString wsMessage) { void CXFA_Validate::GetPicture(WideString& wsPicture) { if (CXFA_Node* pNode = m_pNode->GetChild(0, XFA_Element::Picture)) - pNode->JSNode()->TryContent(wsPicture); + pNode->JSNode()->TryContent(wsPicture, false, true); } CXFA_Script CXFA_Validate::GetScript() { |