diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-04 03:32:08 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-04 03:32:08 +0000 |
commit | 5e35931f90d83e471e4d215034abb4dcb92fac3a (patch) | |
tree | 6e33c19c2d637383d0e8b6ccd1632f66be30943d /xfa/fxfa/parser/xfa_document_datamerger_imp.cpp | |
parent | 185832ce3665ddfe7c3c96b398a4f56ce3eacf62 (diff) | |
download | pdfium-5e35931f90d83e471e4d215034abb4dcb92fac3a.tar.xz |
Remove default values from CXFA_Node::GetNodeList
This CL removes the default values and inlines in the call sites.
Change-Id: Iae95653a5d724918c5944f860a0743053e98fe88
Reviewed-on: https://pdfium-review.googlesource.com/17615
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_datamerger_imp.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_document_datamerger_imp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp index d7c37a02d1..0dc2a52a67 100644 --- a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp +++ b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp @@ -319,7 +319,9 @@ void CreateDataBinding(CXFA_Node* pFormNode, } case XFA_Element::ChoiceList: if (pWidgetData->GetChoiceListOpen() == XFA_ATTRIBUTEENUM_MultiSelect) { - std::vector<CXFA_Node*> items = pDataNode->GetNodeList(); + std::vector<CXFA_Node*> items = pDataNode->GetNodeList( + XFA_NODEFILTER_Children | XFA_NODEFILTER_Properties, + XFA_Element::Unknown); if (!items.empty()) { bool single = items.size() == 1; wsNormalizeValue.clear(); |