diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-13 07:43:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-13 07:43:20 -0700 |
commit | f51e4dc24b3784a3af09278f2d38cf0ba1c4c8cd (patch) | |
tree | 8ba2252f463711a6a5d9c71e997683bc586006e7 /fpdfsdk/javascript/app.cpp | |
parent | f2b940ce281ac5b690bf661fb686fcb5eed34d02 (diff) | |
download | pdfium-f51e4dc24b3784a3af09278f2d38cf0ba1c4c8cd.tar.xz |
Cleanup CPDFXFA_App methods
This CL removes methods which are never called, or are only called once
and return a static value. Those values are inlined at the calling site.
Review-Url: https://codereview.chromium.org/2418633002
Diffstat (limited to 'fpdfsdk/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/javascript/app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp index 325a84b1f8..394f49e143 100644 --- a/fpdfsdk/javascript/app.cpp +++ b/fpdfsdk/javascript/app.cpp @@ -152,7 +152,7 @@ void TimerObj::SetTimer(GlobalTimer* pTimer) { #define JS_STR_VIEWERTYPE L"pdfium" #define JS_STR_VIEWERVARIATION L"Full" #define JS_STR_PLATFORM L"WIN" -#define JS_STR_LANGUANGE L"ENU" +#define JS_STR_LANGUAGE L"ENU" #define JS_NUM_VIEWERVERSION 8 #ifdef PDF_ENABLE_XFA #define JS_NUM_VIEWERVERSION_XFA 11 @@ -338,7 +338,7 @@ FX_BOOL app::language(IJS_Context* cc, return TRUE; } #endif - vp << JS_STR_LANGUANGE; + vp << JS_STR_LANGUAGE; return TRUE; } |