summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_manifest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_manifest.cpp')
-rw-r--r--fxjs/xfa/cjx_manifest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/xfa/cjx_manifest.cpp b/fxjs/xfa/cjx_manifest.cpp
index 69c3e944df..0882238aba 100644
--- a/fxjs/xfa/cjx_manifest.cpp
+++ b/fxjs/xfa/cjx_manifest.cpp
@@ -27,8 +27,8 @@ CJS_Return CJX_Manifest::evaluate(
if (!params.empty())
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
- CXFA_WidgetAcc* pWidgetAcc = GetWidgetAcc();
- return CJS_Return(runtime->NewBoolean(!!pWidgetAcc));
+ return CJS_Return(
+ runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc()));
}
void CJX_Manifest::defaultValue(CFXJSE_Value* pValue,