diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_driver.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_driver.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_driver.cpp b/xfa/fxfa/parser/cxfa_driver.cpp index 883cbf6f9b..3a704f3188 100644 --- a/xfa/fxfa/parser/cxfa_driver.cpp +++ b/xfa/fxfa/parser/cxfa_driver.cpp @@ -8,16 +8,17 @@ namespace { -const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::FontInfo, 1, 0}, - {XFA_Element::Xdc, 1, 0}, - {XFA_Element::Unknown, 0, 0}}; -const CXFA_Node::AttributeData kAttributeData[] = { +const CXFA_Node::PropertyData kDriverPropertyData[] = { + {XFA_Element::FontInfo, 1, 0}, + {XFA_Element::Xdc, 1, 0}, + {XFA_Element::Unknown, 0, 0}}; +const CXFA_Node::AttributeData kDriverAttributeData[] = { {XFA_Attribute::Name, XFA_AttributeType::CData, nullptr}, {XFA_Attribute::Desc, XFA_AttributeType::CData, nullptr}, {XFA_Attribute::Lock, XFA_AttributeType::Integer, (void*)0}, {XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}}; -constexpr wchar_t kName[] = L"driver"; +constexpr wchar_t kDriverName[] = L"driver"; } // namespace @@ -27,8 +28,8 @@ CXFA_Driver::CXFA_Driver(CXFA_Document* doc, XFA_PacketType packet) XFA_XDPPACKET_Config, XFA_ObjectType::Node, XFA_Element::Driver, - kPropertyData, - kAttributeData, - kName) {} + kDriverPropertyData, + kDriverAttributeData, + kDriverName) {} CXFA_Driver::~CXFA_Driver() {} |