OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h" |
| 8 |
| 9 CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode) |
| 10 : CXFA_LayoutItem(pNode, TRUE), |
| 11 m_pPrev(nullptr), |
| 12 m_pNext(nullptr), |
| 13 m_dwStatus(0) {} |
| 14 |
| 15 CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() { |
| 16 if (m_pFormNode->GetUserData(XFA_LAYOUTITEMKEY) == this) |
| 17 m_pFormNode->SetUserData(XFA_LAYOUTITEMKEY, nullptr); |
| 18 } |
OLD | NEW |