From 937a11304dbf7abd97b76da8154e2b3bf5141aeb Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 23 Jun 2016 07:52:01 -0700 Subject: Remove CXFA_OrdinaryObject class The CXFA_OrdinaryObject class no longer has any functionality but is just wraps CXFA_Object and sets the object type for the sub classes. This Cl removes the class and has the subclass set the object type themselves. This CL also renames the OrdinaryObject type to just Object. Review-Url: https://codereview.chromium.org/2082343003 --- xfa/fxfa/parser/xfa_object_imp.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xfa/fxfa/parser/xfa_object_imp.cpp') diff --git a/xfa/fxfa/parser/xfa_object_imp.cpp b/xfa/fxfa/parser/xfa_object_imp.cpp index d5a9f2f740..946df7a66a 100644 --- a/xfa/fxfa/parser/xfa_object_imp.cpp +++ b/xfa/fxfa/parser/xfa_object_imp.cpp @@ -5082,12 +5082,6 @@ void CXFA_Node::MoveBufferMapData(CXFA_Node* pSrcModule, pSrcModule->MoveBufferMapData(pDstModule, pKey); } -CXFA_OrdinaryObject::CXFA_OrdinaryObject(CXFA_Document* pDocument, - XFA_Element eElement) - : CXFA_Object(pDocument, XFA_ObjectType::OrdinaryObject, eElement) {} - -CXFA_OrdinaryObject::~CXFA_OrdinaryObject() {} - CXFA_ThisProxy::CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode) : CXFA_Object(pThisNode->GetDocument(), XFA_ObjectType::VariablesThis, -- cgit v1.2.3