summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-03 14:54:43 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-03 14:54:43 -0800
commitbfe3059a66d7c3291be81f7faecafcee08160f6b (patch)
tree093a40a4cdc57e1fe1fd3a35dc16e4e072a5ae7a /xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
parentd6262c1d5a83baa59d7927c646f8d62febd594b0 (diff)
downloadpdfium-bfe3059a66d7c3291be81f7faecafcee08160f6b.tar.xz
Add CFXA_Object helper methods.
Mark some ctors explicit. Rename GetXFANode to GetXFAObject to match its return type, since it is cast to node in many places. BUG=pdfium:384 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1662063002 .
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
index 553a43f8fb..8ce46516a6 100644
--- a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
@@ -1704,7 +1704,7 @@ FX_BOOL CXFA_TextProvider::GetEmbbedObj(FX_BOOL bURI,
}
if (!pIDNode) {
pIDNode = pDocument->GetNodeByID(
- (CXFA_Node*)pDocument->GetXFANode(XFA_HASHCODE_Form), wsAttr);
+ (CXFA_Node*)pDocument->GetXFAObject(XFA_HASHCODE_Form), wsAttr);
}
if (pIDNode) {
pEmbAcc = (CXFA_WidgetAcc*)pIDNode->GetWidgetData();