summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_assist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_assist.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_assist.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_assist.cpp b/xfa/fxfa/parser/cxfa_assist.cpp
index 4286211e0f..9ba140869b 100644
--- a/xfa/fxfa/parser/cxfa_assist.cpp
+++ b/xfa/fxfa/parser/cxfa_assist.cpp
@@ -11,17 +11,18 @@
namespace {
-const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::ToolTip, 1, 0},
- {XFA_Element::Speak, 1, 0},
- {XFA_Element::Unknown, 0, 0}};
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::PropertyData kAssistPropertyData[] = {
+ {XFA_Element::ToolTip, 1, 0},
+ {XFA_Element::Speak, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kAssistAttributeData[] = {
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Use, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Role, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Usehref, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"assist";
+constexpr wchar_t kAssistName[] = L"assist";
} // namespace
@@ -31,9 +32,9 @@ CXFA_Assist::CXFA_Assist(CXFA_Document* doc, XFA_PacketType packet)
(XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
XFA_ObjectType::Node,
XFA_Element::Assist,
- kPropertyData,
- kAttributeData,
- kName,
+ kAssistPropertyData,
+ kAssistAttributeData,
+ kAssistName,
pdfium::MakeUnique<CJX_Assist>(this)) {}
CXFA_Assist::~CXFA_Assist() {}