summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/PublicMethods.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-19 16:48:22 -0700
committerLei Zhang <thestig@chromium.org>2015-06-19 16:48:22 -0700
commit1eb69422e2f35a32ed7d12a330fb2505f8a97f3c (patch)
treedf77e3889d604eb05a35a6d7227a90178c41239a /fpdfsdk/src/javascript/PublicMethods.cpp
parent51915328af0b5a7a45f547e1e42b232489a1d3fa (diff)
downloadpdfium-1eb69422e2f35a32ed7d12a330fb2505f8a97f3c.tar.xz
Merge to XFA: Remove some dead code.
Review URL: https://codereview.chromium.org/1186673005. (cherry picked from commit 38f5c338fdc2daf79668cf7567298d9f62e4ba23) Review URL: https://codereview.chromium.org/1198683002.
Diffstat (limited to 'fpdfsdk/src/javascript/PublicMethods.cpp')
-rw-r--r--fpdfsdk/src/javascript/PublicMethods.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp
index 3a0ac00097..4c0160931e 100644
--- a/fpdfsdk/src/javascript/PublicMethods.cpp
+++ b/fpdfsdk/src/javascript/PublicMethods.cpp
@@ -62,35 +62,6 @@ END_JS_STATIC_GLOBAL_FUN()
IMPLEMENT_JS_STATIC_GLOBAL_FUN(CJS_PublicMethods)
-struct stru_TbConvert
-{
- const FX_CHAR* lpszJSMark;
- const FX_CHAR* lpszCppMark;
-};
-
-static const stru_TbConvert fcTable[] = {
- { "mmmm","%B" },
- { "mmm", "%b" },
- { "mm", "%m" },
- //"m"
- { "dddd","%A" },
- { "ddd", "%a" },
- { "dd", "%d" },
- //"d", "%w",
- { "yyyy","%Y" },
- { "yy", "%y" },
- { "HH", "%H" },
- //"H"
- { "hh", "%I" },
- //"h"
- { "MM", "%M" },
- //"M"
- { "ss", "%S" },
- //"s
- { "tt", "%p" },
- //"t"
-};
-
static const FX_WCHAR* months[] =
{
L"Jan", L"Feb", L"Mar", L"Apr", L"May", L"Jun", L"Jul", L"Aug", L"Sep", L"Oct", L"Nov", L"Dec"