summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_measurement.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-29 19:50:09 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-29 19:50:09 +0000
commitebbc08b858b4bb3e0a2cb69eb43c51b740515b9a (patch)
tree148267c35cb667cfbc4dd4133060fbdd66de9885 /xfa/fxfa/parser/cxfa_measurement.cpp
parentea4a56dcecac34c6411ae274f5f5d07523c21d3f (diff)
downloadpdfium-ebbc08b858b4bb3e0a2cb69eb43c51b740515b9a.tar.xz
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 <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_measurement.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_measurement.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_measurement.cpp b/xfa/fxfa/parser/cxfa_measurement.cpp
index a929f701be..d0534c92dc 100644
--- a/xfa/fxfa/parser/cxfa_measurement.cpp
+++ b/xfa/fxfa/parser/cxfa_measurement.cpp
@@ -143,8 +143,6 @@ XFA_Unit CXFA_Measurement::GetUnitFromString(const WideStringView& wsUnit) {
return XFA_Unit::Mp;
if (wsUnit == L"em")
return XFA_Unit::Em;
- if (wsUnit == L"an")
- return XFA_Unit::Angle;
if (wsUnit == L"%")
return XFA_Unit::Percent;
return XFA_Unit::Unknown;