Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: fpdfsdk/src/javascript/util.cpp

Issue 429593005: Fix a few more warnings in chromium_code mode. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_Wnd.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/javascript/util.cpp
diff --git a/fpdfsdk/src/javascript/util.cpp b/fpdfsdk/src/javascript/util.cpp
index bafdb22da9dd1ca6038d3f9f1bd33e2c0ad8c792..6563a10f970897849eb58f0e31b5a974b15a4893 100644
--- a/fpdfsdk/src/javascript/util.cpp
+++ b/fpdfsdk/src/javascript/util.cpp
@@ -63,32 +63,32 @@ struct stru_TbConvert
};
const stru_TbConvert fcTable[] = {
- (FX_LPCWSTR)L"mmmm", (FX_LPCWSTR)L"%B",
- (FX_LPCWSTR)L"mmm", (FX_LPCWSTR)L"%b",
- (FX_LPCWSTR)L"mm", (FX_LPCWSTR)L"%m",
+ { (FX_LPCWSTR)L"mmmm", (FX_LPCWSTR)L"%B" },
+ { (FX_LPCWSTR)L"mmm", (FX_LPCWSTR)L"%b" },
+ { (FX_LPCWSTR)L"mm", (FX_LPCWSTR)L"%m" },
//"m"
- (FX_LPCWSTR)L"dddd", (FX_LPCWSTR)L"%A",
- (FX_LPCWSTR)L"ddd", (FX_LPCWSTR)L"%a",
- (FX_LPCWSTR)L"dd", (FX_LPCWSTR)L"%d",
+ { (FX_LPCWSTR)L"dddd", (FX_LPCWSTR)L"%A" },
+ { (FX_LPCWSTR)L"ddd", (FX_LPCWSTR)L"%a" },
+ { (FX_LPCWSTR)L"dd", (FX_LPCWSTR)L"%d" },
//"d", "%w",
- (FX_LPCWSTR)L"yyyy", (FX_LPCWSTR)L"%Y",
- (FX_LPCWSTR)L"yy", (FX_LPCWSTR)L"%y",
- (FX_LPCWSTR)L"HH", (FX_LPCWSTR)L"%H",
+ { (FX_LPCWSTR)L"yyyy", (FX_LPCWSTR)L"%Y" },
+ { (FX_LPCWSTR)L"yy", (FX_LPCWSTR)L"%y" },
+ { (FX_LPCWSTR)L"HH", (FX_LPCWSTR)L"%H" },
//"H"
- (FX_LPCWSTR)L"hh", (FX_LPCWSTR)L"%I",
+ { (FX_LPCWSTR)L"hh", (FX_LPCWSTR)L"%I" },
//"h"
- (FX_LPCWSTR)L"MM", (FX_LPCWSTR)L"%M",
+ { (FX_LPCWSTR)L"MM", (FX_LPCWSTR)L"%M" },
//"M"
- (FX_LPCWSTR)L"ss", (FX_LPCWSTR)L"%S",
+ { (FX_LPCWSTR)L"ss", (FX_LPCWSTR)L"%S" },
//"s
- (FX_LPCWSTR)L"TT", (FX_LPCWSTR)L"%p",
+ { (FX_LPCWSTR)L"TT", (FX_LPCWSTR)L"%p" },
//"t"
#if defined(_WIN32)
- (FX_LPCWSTR)L"tt", (FX_LPCWSTR)L"%p",
- (FX_LPCWSTR)L"h", (FX_LPCWSTR)L"%#I",
+ { (FX_LPCWSTR)L"tt", (FX_LPCWSTR)L"%p" },
+ { (FX_LPCWSTR)L"h", (FX_LPCWSTR)L"%#I" },
#else
- (FX_LPCWSTR)L"tt", (FX_LPCWSTR)L"%P",
- (FX_LPCWSTR)L"h", (FX_LPCWSTR)L"%l",
+ { (FX_LPCWSTR)L"tt", (FX_LPCWSTR)L"%P" },
+ { (FX_LPCWSTR)L"h", (FX_LPCWSTR)L"%l" },
#endif
};
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_Wnd.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698