diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-26 22:20:02 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-26 22:20:02 +0000 |
commit | 821c7236cea91645d32e1028b6f40d500961441c (patch) | |
tree | c95bc54d8c81addd09980d025535af661be19ab1 /xfa/fxfa/parser | |
parent | e24d5a885ecde400936796b104f1950f756d90d2 (diff) | |
download | pdfium-821c7236cea91645d32e1028b6f40d500961441c.tar.xz |
Shrink some tables and kill dead code in xfa.
Change-Id: Ic1260417e7d1475dd518655b2ab08f0184955d88
Reviewed-on: https://pdfium-review.googlesource.com/27170
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/cxfa_localevalue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_localevalue.cpp b/xfa/fxfa/parser/cxfa_localevalue.cpp index 09e3577887..756d4c2307 100644 --- a/xfa/fxfa/parser/cxfa_localevalue.cpp +++ b/xfa/fxfa/parser/cxfa_localevalue.cpp @@ -430,8 +430,8 @@ bool CXFA_LocaleValue::ValidateCanonicalValue(const WideString& wsValue, bool CXFA_LocaleValue::ValidateCanonicalDate(const WideString& wsDate, CFX_DateTime* unDate) { - static const uint16_t LastDay[12] = {31, 28, 31, 30, 31, 30, - 31, 31, 30, 31, 30, 31}; + static const uint8_t LastDay[12] = {31, 28, 31, 30, 31, 30, + 31, 31, 30, 31, 30, 31}; static const uint16_t wCountY = 4; static const uint16_t wCountM = 2; static const uint16_t wCountD = 2; |