diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-14 17:03:50 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-14 17:03:50 -0800 |
commit | 893fe94f069656ef5106db1aec32ec11b85f4de2 (patch) | |
tree | a0dba049ed478fd775976b8429308fb83a6ddda7 /fpdfsdk/src/javascript/JS_Context.cpp | |
parent | d66fda28dc2159ffc68c312764172382825c4d10 (diff) | |
download | pdfium-893fe94f069656ef5106db1aec32ec11b85f4de2.tar.xz |
Remove FX_LPCWSTR cast to wchar_t* literals
BUG=https://code.google.com/p/pdfium/issues/detail?id=78
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/726143002
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Context.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Context.cpp b/fpdfsdk/src/javascript/JS_Context.cpp index a83e1e057d..bdcb1ac542 100644 --- a/fpdfsdk/src/javascript/JS_Context.cpp +++ b/fpdfsdk/src/javascript/JS_Context.cpp @@ -83,7 +83,7 @@ FX_BOOL CJS_Context::DoJob(int nMode, const CFX_WideString& script, CFX_WideStri if (nRet < 0) { CFX_WideString sLine; - sLine.Format((FX_LPCWSTR)L"[ Line: %05d { %s } ] : %s",error.linnum-1,error.srcline,error.message); + sLine.Format(L"[ Line: %05d { %s } ] : %s",error.linnum-1,error.srcline,error.message); // TRACE(L"/* -------------- JS Error -------------- */\n"); // TRACE(sLine); |