summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_breakbefore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_breakbefore.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_breakbefore.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/xfa/fxfa/parser/cxfa_breakbefore.cpp b/xfa/fxfa/parser/cxfa_breakbefore.cpp
index c8dcadea74..d1b57e4c04 100644
--- a/xfa/fxfa/parser/cxfa_breakbefore.cpp
+++ b/xfa/fxfa/parser/cxfa_breakbefore.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 kBreakBeforePropertyData[] = {
+ {XFA_Element::Script, 1, 0},
+ {XFA_Element::Unknown, 0, 0}};
+const CXFA_Node::AttributeData kBreakBeforeAttributeData[] = {
{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"breakBefore";
+constexpr wchar_t kBreakBeforeName[] = L"breakBefore";
} // namespace
@@ -35,9 +36,9 @@ CXFA_BreakBefore::CXFA_BreakBefore(CXFA_Document* doc, XFA_PacketType packet)
(XFA_XDPPACKET_Template | XFA_XDPPACKET_Form),
XFA_ObjectType::Node,
XFA_Element::BreakBefore,
- kPropertyData,
- kAttributeData,
- kName,
+ kBreakBeforePropertyData,
+ kBreakBeforeAttributeData,
+ kBreakBeforeName,
pdfium::MakeUnique<CJX_BreakBefore>(this)) {}
CXFA_BreakBefore::~CXFA_BreakBefore() {}