diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_value.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_value.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_value.cpp b/xfa/fxfa/parser/cxfa_value.cpp index bc5f9faeff..99cca777dc 100644 --- a/xfa/fxfa/parser/cxfa_value.cpp +++ b/xfa/fxfa/parser/cxfa_value.cpp @@ -9,6 +9,7 @@ #include "fxjs/xfa/cjx_value.h" #include "third_party/base/ptr_util.h" #include "xfa/fxfa/parser/cxfa_arc.h" +#include "xfa/fxfa/parser/cxfa_image.h" #include "xfa/fxfa/parser/cxfa_line.h" #include "xfa/fxfa/parser/cxfa_rectangle.h" @@ -86,6 +87,6 @@ CXFA_ExDataData CXFA_Value::GetExData() const { return CXFA_ExDataData(GetNodeItem(XFA_NODEITEM_FirstChild)); } -CXFA_ImageData CXFA_Value::GetImageData() const { - return CXFA_ImageData(GetNodeItem(XFA_NODEITEM_FirstChild)); +CXFA_Image* CXFA_Value::GetImage() const { + return static_cast<CXFA_Image*>(GetNodeItem(XFA_NODEITEM_FirstChild)); } |