diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-06-01 09:20:41 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-01 16:20:51 +0000 |
commit | a64cd6c86438636b031e1204057b27a8b9673296 (patch) | |
tree | 2f8bdbe658b866d417fd71f2d3fe532802968377 /xfa/fgas/crt/cfgas_formatstring.cpp | |
parent | fb7021ce035587c460c0ed91584ca05999e60ddd (diff) | |
download | pdfium-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/fgas/crt/cfgas_formatstring.cpp')
-rw-r--r-- | xfa/fgas/crt/cfgas_formatstring.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/xfa/fgas/crt/cfgas_formatstring.cpp b/xfa/fgas/crt/cfgas_formatstring.cpp index 0c2e307b7c..30dba7bf99 100644 --- a/xfa/fgas/crt/cfgas_formatstring.cpp +++ b/xfa/fgas/crt/cfgas_formatstring.cpp @@ -1158,27 +1158,6 @@ FX_LOCALECATEGORY CFGAS_FormatString::GetCategory( return eCategory; } -CFX_WideString CFGAS_FormatString::GetLocaleName( - const CFX_WideString& wsPattern) { - int32_t ccf = 0; - int32_t iLenf = wsPattern.GetLength(); - const wchar_t* pStr = wsPattern.c_str(); - while (ccf < iLenf) { - if (pStr[ccf] == '\'') { - GetLiteralText(pStr, ccf, iLenf); - } else if (pStr[ccf] == '(') { - ccf++; - CFX_WideString wsLCID; - while (ccf < iLenf && pStr[ccf] != ')') { - wsLCID += pStr[ccf++]; - } - return wsLCID; - } - ccf++; - } - return CFX_WideString(); -} - IFX_Locale* CFGAS_FormatString::GetTextFormat(const CFX_WideString& wsPattern, const CFX_WideStringC& wsCategory, CFX_WideString& wsPurgePattern) { |