diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-23 18:14:26 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-23 18:14:26 -0700 |
commit | e5350eff5c5cfe4d01686a4c787d764bde5dd23c (patch) | |
tree | 6b62282c48fd5b15a9fbdfd6dacb322bcc9ce0bf /fpdfsdk/src/javascript/resource.cpp | |
parent | f4ef3f92eb89a460a0715df758122ba662aadc39 (diff) | |
download | pdfium-e5350eff5c5cfe4d01686a4c787d764bde5dd23c.tar.xz |
Merge to XFA: Remove unused nParamNum values from JS method tables.
Original Review URL: https://codereview.chromium.org/1084183008
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1105813002
Diffstat (limited to 'fpdfsdk/src/javascript/resource.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/resource.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/src/javascript/resource.cpp b/fpdfsdk/src/javascript/resource.cpp index be24ccd66c..4375da3ff7 100644 --- a/fpdfsdk/src/javascript/resource.cpp +++ b/fpdfsdk/src/javascript/resource.cpp @@ -43,6 +43,10 @@ CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id) return L"Global value not found."; case IDS_STRING_JSREADONLY: return L"Cannot assign to readonly property."; + case IDS_STRING_JSTYPEERROR: + return L"Incorrect parameter type."; + case IDS_STRING_JSVALUEERROR: + return L"Incorrect parameter value."; default: return L""; } |