summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_captiondata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_captiondata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_captiondata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_captiondata.cpp b/xfa/fxfa/parser/cxfa_captiondata.cpp
index 9f9af07b63..a91b45f436 100644
--- a/xfa/fxfa/parser/cxfa_captiondata.cpp
+++ b/xfa/fxfa/parser/cxfa_captiondata.cpp
@@ -26,7 +26,7 @@ int32_t CXFA_CaptionData::GetPlacementType() {
float CXFA_CaptionData::GetReserve() {
CXFA_Measurement ms;
m_pNode->JSNode()->TryMeasure(XFA_Attribute::Reserve, ms, true);
- return ms.ToUnit(XFA_UNIT_Pt);
+ return ms.ToUnit(XFA_Unit::Pt);
}
CXFA_MarginData CXFA_CaptionData::GetMarginData() {