summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_query.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_query.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_query.cpp b/xfa/fxfa/parser/cxfa_query.cpp
index 5e1856584b..b38f2382ce 100644
--- a/xfa/fxfa/parser/cxfa_query.cpp
+++ b/xfa/fxfa/parser/cxfa_query.cpp
@@ -11,10 +11,11 @@
namespace {
-const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::RecordSet, 1, 0},
- {XFA_Element::Select, 1, 0},
- {XFA_Element::Unknown, 0, 0}};
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::PropertyData kQueryPropertyData[] = {
+ {XFA_Element::RecordSet, 1, 0},
+ {XFA_Element::Select, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kQueryAttributeData[] = {
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Name, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Use, XFA_AttributeType::CData, nullptr},
@@ -23,7 +24,7 @@ const CXFA_Node::AttributeData kAttributeData[] = {
{XFA_Attribute::Usehref, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"query";
+constexpr wchar_t kQueryName[] = L"query";
} // namespace
@@ -33,9 +34,9 @@ CXFA_Query::CXFA_Query(CXFA_Document* doc, XFA_PacketType packet)
XFA_XDPPACKET_SourceSet,
XFA_ObjectType::Node,
XFA_Element::Query,
- kPropertyData,
- kAttributeData,
- kName,
+ kQueryPropertyData,
+ kQueryAttributeData,
+ kQueryName,
pdfium::MakeUnique<CJX_Query>(this)) {}
CXFA_Query::~CXFA_Query() {}