summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-12-04 10:10:34 -0800
committerTom Sepez <tsepez@chromium.org>2014-12-04 10:10:34 -0800
commitdf448f5c421440c8884c87da6055c0b5cc62c5ca (patch)
tree6f15d3c7e65360ec430672d8ad851d158e333c25 /xfa/src/fxfa
parent553efe2b5cf65959fa1e547ebb66ffc60b678028 (diff)
downloadpdfium-df448f5c421440c8884c87da6055c0b5cc62c5ca.tar.xz
Remove needless casts of (narrow) string literals.
Follow-up to work on (wide) string literals. R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/751113003
Diffstat (limited to 'xfa/src/fxfa')
-rw-r--r--xfa/src/fxfa/src/parser/xfa_script_imp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_script_imp.cpp b/xfa/src/fxfa/src/parser/xfa_script_imp.cpp
index bdf59ca082..cd196f585d 100644
--- a/xfa/src/fxfa/src/parser/xfa_script_imp.cpp
+++ b/xfa/src/fxfa/src/parser/xfa_script_imp.cpp
@@ -728,8 +728,8 @@ IXFA_ScriptContext* XFA_ScriptContext_Create(CXFA_Document* pDocument)
return FX_NEW CXFA_ScriptContext(pDocument);
}
static const XFA_JSBUILTININFO gs_JSBUILTINData[] = {
- {0x8108b9a9, (FX_LPCSTR)"Number"},
- {0xe07e3fbe, (FX_LPCSTR)"Date"},
+ {0x8108b9a9, "Number"},
+ {0xe07e3fbe, "Date"},
};
const FX_INT32 g_iJSBuiltinCount = sizeof(XFA_JSBUILTININFO) / sizeof(XFA_JSBUILTININFO);
XFA_LPCJSBUILTININFO XFA_GetJSBuiltinByHash(FX_UINT32 uHashCode)