From 38f5c338fdc2daf79668cf7567298d9f62e4ba23 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 15 Jun 2015 11:45:48 -0700 Subject: Remove some dead code. Review URL: https://codereview.chromium.org/1186673005. --- fpdfsdk/src/javascript/PublicMethods.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'fpdfsdk/src/javascript') diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp index bfd6935ce2..a615d4409b 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" -- cgit v1.2.3