diff options
Diffstat (limited to 'fpdfsdk/javascript/cjs_runtime.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_runtime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp index 8466e4d3fd..1ece0b6f79 100644 --- a/fpdfsdk/javascript/cjs_runtime.cpp +++ b/fpdfsdk/javascript/cjs_runtime.cpp @@ -187,11 +187,11 @@ void CJS_Runtime::SetFormFillEnvToDocument() { if (!pDocument) return; - pDocument->SetFormFillEnv(m_pFormFillEnv); + pDocument->SetFormFillEnv(m_pFormFillEnv.Get()); } CPDFSDK_FormFillEnvironment* CJS_Runtime::GetFormFillEnv() const { - return m_pFormFillEnv; + return m_pFormFillEnv.Get(); } int CJS_Runtime::ExecuteScript(const CFX_WideString& script, |