summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_date.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_date.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_date.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_date.cpp b/xfa/fxfa/parser/cxfa_date.cpp
index 984ab32513..90f20b55ea 100644
--- a/xfa/fxfa/parser/cxfa_date.cpp
+++ b/xfa/fxfa/parser/cxfa_date.cpp
@@ -11,14 +11,14 @@
namespace {
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::AttributeData kDateAttributeData[] = {
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Name, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Use, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Usehref, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"date";
+constexpr wchar_t kDateName[] = L"date";
} // namespace
@@ -29,8 +29,8 @@ CXFA_Date::CXFA_Date(CXFA_Document* doc, XFA_PacketType packet)
XFA_ObjectType::ContentNode,
XFA_Element::Date,
nullptr,
- kAttributeData,
- kName,
+ kDateAttributeData,
+ kDateName,
pdfium::MakeUnique<CJX_Date>(this)) {}
CXFA_Date::~CXFA_Date() {}