summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_rectangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_rectangle.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_rectangle.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fxfa/parser/cxfa_rectangle.cpp b/xfa/fxfa/parser/cxfa_rectangle.cpp
index c3efcfd23b..01a204d149 100644
--- a/xfa/fxfa/parser/cxfa_rectangle.cpp
+++ b/xfa/fxfa/parser/cxfa_rectangle.cpp
@@ -28,14 +28,14 @@ constexpr wchar_t kName[] = L"rectangle";
} // namespace
CXFA_Rectangle::CXFA_Rectangle(CXFA_Document* doc, XFA_PacketType packet)
- : CXFA_Node(doc,
- packet,
- (XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
- XFA_ObjectType::Node,
- XFA_Element::Rectangle,
- kPropertyData,
- kAttributeData,
- kName,
- pdfium::MakeUnique<CJX_Rectangle>(this)) {}
+ : CXFA_Box(doc,
+ packet,
+ (XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
+ XFA_ObjectType::Node,
+ XFA_Element::Rectangle,
+ kPropertyData,
+ kAttributeData,
+ kName,
+ pdfium::MakeUnique<CJX_Rectangle>(this)) {}
CXFA_Rectangle::~CXFA_Rectangle() {}