From fa50df5605a14ca4c9ba440506685981f1c8b04b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 3 Jan 2018 12:15:53 -0500 Subject: Fold CXFA_CaptionData into CXFA_Caption This CL folds the CXFA_CaptionData wrapper class into CXFA_Caption. Change-Id: I65302656a89985dec4d0ec1f42b5eaa95d22aae2 Reviewed-on: https://pdfium-review.googlesource.com/22150 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_widgetdata.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_widgetdata.cpp') diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index 8fef4b4418..1351c77be2 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -265,9 +265,9 @@ CXFA_Border* CXFA_WidgetData::GetBorder(bool bModified) { bModified); } -CXFA_CaptionData CXFA_WidgetData::GetCaptionData() { - return CXFA_CaptionData(m_pNode->JSObject()->GetProperty( - 0, XFA_Element::Caption, false)); +CXFA_Caption* CXFA_WidgetData::GetCaption() { + return m_pNode->JSObject()->GetProperty(0, XFA_Element::Caption, + false); } CXFA_FontData CXFA_WidgetData::GetFontData(bool bModified) { -- cgit v1.2.3