summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_localevalue.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-06-01 09:20:41 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-01 16:20:51 +0000
commita64cd6c86438636b031e1204057b27a8b9673296 (patch)
tree2f8bdbe658b866d417fd71f2d3fe532802968377 /xfa/fxfa/parser/cxfa_localevalue.h
parentfb7021ce035587c460c0ed91584ca05999e60ddd (diff)
downloadpdfium-a64cd6c86438636b031e1204057b27a8b9673296.tar.xz
Remove unused Locale code
This CL removes unused code from CFGAS_FormatString and CXFA_LocaleValue. Change-Id: I87a996231b3ad3770508be362456c435034b229c Reviewed-on: https://pdfium-review.googlesource.com/6177 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_localevalue.h')
-rw-r--r--xfa/fxfa/parser/cxfa_localevalue.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/xfa/fxfa/parser/cxfa_localevalue.h b/xfa/fxfa/parser/cxfa_localevalue.h
index cb30d37792..d263dba476 100644
--- a/xfa/fxfa/parser/cxfa_localevalue.h
+++ b/xfa/fxfa/parser/cxfa_localevalue.h
@@ -57,7 +57,6 @@ class CXFA_LocaleValue {
bool ValidateCanonicalDate(const CFX_WideString& wsDate,
CFX_DateTime* unDate);
bool ValidateCanonicalTime(const CFX_WideString& wsTime);
- bool ValidateCanonicalDateTime(const CFX_WideString& wsDateTime);
void GetNumbericFormat(CFX_WideString& wsFormat,
int32_t nIntLen,
int32_t nDecLen,
@@ -69,35 +68,12 @@ class CXFA_LocaleValue {
CFX_WideString GetValue() const;
uint32_t GetType() const;
- void SetValue(const CFX_WideString& wsValue, uint32_t dwType);
- CFX_WideString GetText() const;
- float GetNum() const;
double GetDoubleNum() const;
CFX_DateTime GetDate() const;
CFX_DateTime GetTime() const;
- CFX_DateTime GetDateTime() const;
- bool SetText(const CFX_WideString& wsText);
- bool SetText(const CFX_WideString& wsText,
- const CFX_WideString& wsFormat,
- IFX_Locale* pLocale);
- bool SetNum(float fNum);
- bool SetNum(const CFX_WideString& wsNum,
- const CFX_WideString& wsFormat,
- IFX_Locale* pLocale);
bool SetDate(const CFX_DateTime& d);
- bool SetDate(const CFX_WideString& wsDate,
- const CFX_WideString& wsFormat,
- IFX_Locale* pLocale);
bool SetTime(const CFX_DateTime& t);
- bool SetTime(const CFX_WideString& wsTime,
- const CFX_WideString& wsFormat,
- IFX_Locale* pLocale);
bool SetDateTime(const CFX_DateTime& dt);
- bool SetDateTime(const CFX_WideString& wsDateTime,
- const CFX_WideString& wsFormat,
- IFX_Locale* pLocale);
- bool IsNull() const { return m_dwType == XFA_VT_NULL; }
- bool IsEmpty() const { return m_wsValue.IsEmpty(); }
bool IsValid() const { return m_bValid; }
private: