summaryrefslogtreecommitdiff
path: root/xfa/fgas/crt/cfgas_formatstring.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-06-05 09:46:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-05 13:58:40 +0000
commit7211eac14643bbbaf41bfc205c244668f46be440 (patch)
tree6dacdf2a39b60695d0811d8ff63b650ebe56e3c1 /xfa/fgas/crt/cfgas_formatstring.h
parentaf680b17e0e1b94e40afa6a01ba3bbdead2d6035 (diff)
downloadpdfium-7211eac14643bbbaf41bfc205c244668f46be440.tar.xz
Cleaning up some XFA locale related code
This CL removes some unused locale related code and formats other bits. Change-Id: I172fc16a634a8982c00bfaf84fdcd4cd277eb36d Reviewed-on: https://pdfium-review.googlesource.com/6077 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fgas/crt/cfgas_formatstring.h')
-rw-r--r--xfa/fgas/crt/cfgas_formatstring.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fgas/crt/cfgas_formatstring.h b/xfa/fgas/crt/cfgas_formatstring.h
index be3c310fa5..a8cb917697 100644
--- a/xfa/fgas/crt/cfgas_formatstring.h
+++ b/xfa/fgas/crt/cfgas_formatstring.h
@@ -53,9 +53,9 @@ class CFGAS_FormatString {
bool FormatNull(const CFX_WideString& wsPattern, CFX_WideString& wsOutput);
private:
- IFX_Locale* GetTextFormat(const CFX_WideString& wsPattern,
- const CFX_WideStringC& wsCategory,
- CFX_WideString& wsPurgePattern);
+ void GetTextFormat(const CFX_WideString& wsPattern,
+ const CFX_WideStringC& wsCategory,
+ CFX_WideString& wsPurgePattern);
IFX_Locale* GetNumericFormat(const CFX_WideString& wsPattern,
int32_t& iDotIndex,
uint32_t& dwStyle,
@@ -67,7 +67,6 @@ class CFGAS_FormatString {
IFX_Locale*& pLocale,
CFX_WideString& wsDatePattern,
CFX_WideString& wsTimePattern);
- IFX_Locale* GetPatternLocale(const CFX_WideString& wsLocale);
CXFA_LocaleMgr* m_pLocaleMgr;
};