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 db18f9a159..1f84959d05 100644
--- a/xfa/fxfa/parser/cxfa_captiondata.cpp
+++ b/xfa/fxfa/parser/cxfa_captiondata.cpp
@@ -34,9 +34,9 @@ CXFA_Margin CXFA_CaptionData::GetMargin() {
: nullptr);
}
-CXFA_Font CXFA_CaptionData::GetFont() {
- return CXFA_Font(m_pNode ? m_pNode->GetChild(0, XFA_Element::Font, false)
- : nullptr);
+CXFA_FontData CXFA_CaptionData::GetFontData() {
+ return CXFA_FontData(m_pNode ? m_pNode->GetChild(0, XFA_Element::Font, false)
+ : nullptr);
}
CXFA_Value CXFA_CaptionData::GetValue() {