From ebbc08b858b4bb3e0a2cb69eb43c51b740515b9a Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 29 Nov 2017 19:50:09 +0000 Subject: Remove XFA_Unit::Angle We never use the ::Angle unit internally, we just access the value. This CL changes the default value to an Integer and drops the measurement. Change-Id: I85d6d84956595bb0576db42d287f54a5a3db1bed Reviewed-on: https://pdfium-review.googlesource.com/19790 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/parser/xfa_basic_data_attributes.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xfa/fxfa/parser/xfa_basic_data_attributes.cpp') diff --git a/xfa/fxfa/parser/xfa_basic_data_attributes.cpp b/xfa/fxfa/parser/xfa_basic_data_attributes.cpp index 038f89405a..961475a997 100644 --- a/xfa/fxfa/parser/xfa_basic_data_attributes.cpp +++ b/xfa/fxfa/parser/xfa_basic_data_attributes.cpp @@ -162,8 +162,8 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { {0x2cd79033, L"kerningMode", XFA_Attribute::KerningMode, XFA_AttributeType::Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0x2ee7678f, L"rotate", XFA_Attribute::Rotate, XFA_AttributeType::Measure, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"0an"}, + {0x2ee7678f, L"rotate", XFA_Attribute::Rotate, XFA_AttributeType::Integer, + XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, {0x2f105f72, L"wordCharacterCount", XFA_Attribute::WordCharacterCount, XFA_AttributeType::Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)7}, @@ -264,8 +264,8 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { XFA_AttributeType::Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Error}, {0x5c054755, L"startAngle", XFA_Attribute::StartAngle, - XFA_AttributeType::Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, - (void*)L"0an"}, + XFA_AttributeType::Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, {0x5ec958c0, L"cursorType", XFA_Attribute::CursorType, XFA_AttributeType::Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_ForwardOnly}, @@ -305,8 +305,8 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { XFA_AttributeType::Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"0in"}, {0x74788f8b, L"sweepAngle", XFA_Attribute::SweepAngle, - XFA_AttributeType::Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, - (void*)L"360an"}, + XFA_AttributeType::Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)360}, {0x78bff531, L"numberOfCells", XFA_Attribute::NumberOfCells, XFA_AttributeType::Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, -- cgit v1.2.3