summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_breakafter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_breakafter.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_breakafter.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/xfa/fxfa/parser/cxfa_breakafter.cpp b/xfa/fxfa/parser/cxfa_breakafter.cpp
index 925b721f35..6541abe678 100644
--- a/xfa/fxfa/parser/cxfa_breakafter.cpp
+++ b/xfa/fxfa/parser/cxfa_breakafter.cpp
@@ -11,9 +11,10 @@
namespace {
-const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Script, 1, 0},
- {XFA_Element::Unknown, 0, 0}};
-const CXFA_Node::AttributeData kAttributeData[] = {
+const CXFA_Node::PropertyData kBreakAfterPropertyData[] = {
+ {XFA_Element::Script, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kBreakAfterAttributeData[] = {
{XFA_Attribute::Id, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Use, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::StartNew, XFA_AttributeType::Boolean, (void*)0},
@@ -25,7 +26,7 @@ const CXFA_Node::AttributeData kAttributeData[] = {
{XFA_Attribute::Leader, XFA_AttributeType::CData, nullptr},
{XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}};
-constexpr wchar_t kName[] = L"breakAfter";
+constexpr wchar_t kBreakAfterName[] = L"breakAfter";
} // namespace
@@ -35,9 +36,9 @@ CXFA_BreakAfter::CXFA_BreakAfter(CXFA_Document* doc, XFA_PacketType packet)
(XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
XFA_ObjectType::Node,
XFA_Element::BreakAfter,
- kPropertyData,
- kAttributeData,
- kName,
+ kBreakAfterPropertyData,
+ kBreakAfterAttributeData,
+ kBreakAfterName,
pdfium::MakeUnique<CJX_BreakAfter>(this)) {}
CXFA_BreakAfter::~CXFA_BreakAfter() {}