diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_list.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_list.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_list.cpp b/xfa/fxfa/parser/cxfa_list.cpp index 3d56cac140..6f5fc29ca5 100644 --- a/xfa/fxfa/parser/cxfa_list.cpp +++ b/xfa/fxfa/parser/cxfa_list.cpp @@ -15,11 +15,18 @@ #include "xfa/fxfa/parser/cxfa_node.h" CXFA_List::CXFA_List(CXFA_Document* pDocument, std::unique_ptr<CJX_Object> obj) - : CXFA_Object(pDocument, - XFA_ObjectType::List, - XFA_Element::List, - WideStringView(L"list"), - std::move(obj)) { + : CXFA_List(pDocument, + XFA_ObjectType::List, + XFA_Element::List, + WideStringView(L"list"), + std::move(obj)) {} + +CXFA_List::CXFA_List(CXFA_Document* pDocument, + XFA_ObjectType objectType, + XFA_Element eType, + const WideStringView& elementName, + std::unique_ptr<CJX_Object> obj) + : CXFA_Object(pDocument, objectType, eType, elementName, std::move(obj)) { m_pDocument->GetScriptContext()->AddToCacheList( std::unique_ptr<CXFA_List>(this)); } |