summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_area.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_area.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_area.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_area.cpp b/xfa/fxfa/parser/cxfa_area.cpp
index 7fd8aa6898..be8e832d46 100644
--- a/xfa/fxfa/parser/cxfa_area.cpp
+++ b/xfa/fxfa/parser/cxfa_area.cpp
@@ -11,10 +11,11 @@
namespace {
-const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Desc, 1, 0},
- {XFA_Element::Extras, 1, 0},
- {XFA_Element::Unknown, 0, 0}};
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::PropertyData kAreaPropertyData[] = {
+ {XFA_Element::Desc, 1, 0},
+ {XFA_Element::Extras, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kAreaAttributeData[] = {
{XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"},
{XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"},
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
@@ -27,7 +28,7 @@ const CXFA_Node::AttributeData kAttributeData[] = {
{XFA_Attribute::Lock, XFA_AttributeType::Integer, (void*)0},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"area";
+constexpr wchar_t kAreaName[] = L"area";
} // namespace
@@ -38,9 +39,9 @@ CXFA_Area::CXFA_Area(CXFA_Document* doc, XFA_PacketType packet)
(XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
XFA_ObjectType::ContainerNode,
XFA_Element::Area,
- kPropertyData,
- kAttributeData,
- kName,
+ kAreaPropertyData,
+ kAreaAttributeData,
+ kAreaName,
pdfium::MakeUnique<CJX_Area>(this)) {}
CXFA_Area::~CXFA_Area() {}