diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-17 10:46:25 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-17 10:52:50 -0800 |
commit | 0ed3b28a70c64e06340b892e6b5e753f80b0fa4e (patch) | |
tree | 4242bbd769b19621e9131cff0fb3b5d837913051 /fpdfsdk/include | |
parent | 2b7a49dabdac7c31975f2662f6513c0930617231 (diff) | |
download | pdfium-0ed3b28a70c64e06340b892e6b5e753f80b0fa4e.tar.xz |
Merge to XFA: patch from CL 730993002
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Define.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/javascript/JS_Define.h b/fpdfsdk/include/javascript/JS_Define.h index 1798e01591..b3e3ce3285 100644 --- a/fpdfsdk/include/javascript/JS_Define.h +++ b/fpdfsdk/include/javascript/JS_Define.h @@ -602,7 +602,7 @@ if (JS_DefineGlobalConst(pRuntime,JS_WIDESTRING(const_name),JS_NewString(pRuntim int size = sizeof(ArrayContent) / sizeof(FX_LPCWSTR);\ \ CJS_Array array(pRuntime);\ -for (int i=0; i<size; i++) array.SetElement(i,CJS_Value(pRuntime,(FX_LPCWSTR)ArrayContent[i]));\ +for (int i=0; i<size; i++) array.SetElement(i,CJS_Value(pRuntime,ArrayContent[i]));\ \ CJS_PropValue prop(pRuntime);\ prop << array;\ |