summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp
index 38f45d10bf..260bf20fc0 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp
@@ -370,7 +370,7 @@ void CJS_Runtime::GetObjectNames(CFX_WideStringArray& array)
array.Add(CJS_Zoomtype::m_pClassName);
array.Add(CJS_App::m_pClassName);
- array.Add((FX_LPCWSTR)"this");
+ array.Add(L"this");
array.Add(CJS_Event::m_pClassName);
array.Add(CJS_Global::m_pClassName);