summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_value.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-03 16:58:06 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-04 14:48:52 +0000
commit4cf0589c4bc388781cbfc8459c4904bb2bd947bf (patch)
tree5bc9da1f2abffbbf9ec91271f7765983e65d1c0d /xfa/fxfa/parser/cxfa_value.cpp
parente83a915ebd3afaa897dbbf3e6cb3d2a2cb198595 (diff)
downloadpdfium-4cf0589c4bc388781cbfc8459c4904bb2bd947bf.tar.xz
Fold CXFA_ExDataData into CXFA_ExData
This CL removes the CXFA_ExDataData wrapper and puts the code in CXFA_ExData directly. Change-Id: I9406d615a09fb431b5c620ed348f9976cf8dc72a Reviewed-on: https://pdfium-review.googlesource.com/22230 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_value.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_value.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_value.cpp b/xfa/fxfa/parser/cxfa_value.cpp
index 99cca777dc..0998c06364 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_exdata.h"
#include "xfa/fxfa/parser/cxfa_image.h"
#include "xfa/fxfa/parser/cxfa_line.h"
#include "xfa/fxfa/parser/cxfa_rectangle.h"
@@ -83,8 +84,8 @@ CXFA_Text* CXFA_Value::GetText() const {
return static_cast<CXFA_Text*>(GetNodeItem(XFA_NODEITEM_FirstChild));
}
-CXFA_ExDataData CXFA_Value::GetExData() const {
- return CXFA_ExDataData(GetNodeItem(XFA_NODEITEM_FirstChild));
+CXFA_ExData* CXFA_Value::GetExData() const {
+ return static_cast<CXFA_ExData*>(GetNodeItem(XFA_NODEITEM_FirstChild));
}
CXFA_Image* CXFA_Value::GetImage() const {