summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_passwordedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_passwordedit.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_passwordedit.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/xfa/fxfa/parser/cxfa_passwordedit.cpp b/xfa/fxfa/parser/cxfa_passwordedit.cpp
index 6d38c344fe..ceea47b341 100644
--- a/xfa/fxfa/parser/cxfa_passwordedit.cpp
+++ b/xfa/fxfa/parser/cxfa_passwordedit.cpp
@@ -11,11 +11,12 @@
namespace {
-const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Margin, 1, 0},
- {XFA_Element::Border, 1, 0},
- {XFA_Element::Extras, 1, 0},
- {XFA_Element::Unknown, 0, 0}};
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::PropertyData kPasswordEditPropertyData[] = {
+ {XFA_Element::Margin, 1, 0},
+ {XFA_Element::Border, 1, 0},
+ {XFA_Element::Extras, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kPasswordEditAttributeData[] = {
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Use, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::PasswordChar, XFA_AttributeType::CData, (void*)L"*"},
@@ -24,7 +25,7 @@ const CXFA_Node::AttributeData kAttributeData[] = {
(void*)XFA_AttributeEnum::Auto},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"passwordEdit";
+constexpr wchar_t kPasswordEditName[] = L"passwordEdit";
} // namespace
@@ -34,9 +35,9 @@ CXFA_PasswordEdit::CXFA_PasswordEdit(CXFA_Document* doc, XFA_PacketType packet)
(XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
XFA_ObjectType::Node,
XFA_Element::PasswordEdit,
- kPropertyData,
- kAttributeData,
- kName) {}
+ kPasswordEditPropertyData,
+ kPasswordEditAttributeData,
+ kPasswordEditName) {}
CXFA_PasswordEdit::~CXFA_PasswordEdit() {}