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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_captiondata.cpp b/xfa/fxfa/parser/cxfa_captiondata.cpp
index 1f84959d05..dfaba57313 100644
--- a/xfa/fxfa/parser/cxfa_captiondata.cpp
+++ b/xfa/fxfa/parser/cxfa_captiondata.cpp
@@ -29,9 +29,9 @@ float CXFA_CaptionData::GetReserve() {
return ms.ToUnit(XFA_UNIT_Pt);
}
-CXFA_Margin CXFA_CaptionData::GetMargin() {
- return CXFA_Margin(m_pNode ? m_pNode->GetChild(0, XFA_Element::Margin, false)
- : nullptr);
+CXFA_MarginData CXFA_CaptionData::GetMarginData() {
+ return CXFA_MarginData(
+ m_pNode ? m_pNode->GetChild(0, XFA_Element::Margin, false) : nullptr);
}
CXFA_FontData CXFA_CaptionData::GetFontData() {