diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_value.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_value.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_value.cpp b/xfa/fxfa/parser/cxfa_value.cpp index aae11da211..d4911c56db 100644 --- a/xfa/fxfa/parser/cxfa_value.cpp +++ b/xfa/fxfa/parser/cxfa_value.cpp @@ -75,8 +75,8 @@ CXFA_RectangleData CXFA_Value::GetRectangleData() const { return CXFA_RectangleData(GetNodeItem(XFA_NODEITEM_FirstChild)); } -CXFA_TextData CXFA_Value::GetTextData() const { - return CXFA_TextData(GetNodeItem(XFA_NODEITEM_FirstChild)); +CXFA_Text* CXFA_Value::GetText() const { + return static_cast<CXFA_Text*>(GetNodeItem(XFA_NODEITEM_FirstChild)); } CXFA_ExDataData CXFA_Value::GetExData() const { |