diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-03-06 18:53:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-06 18:53:05 +0000 |
commit | a32145f1f16b7b02110bf359208f587d7d486551 (patch) | |
tree | c97a9fbd14c9996e4bb8ceaa5167f0212b17f62c /fxjs/cfxjse_formcalc_context.cpp | |
parent | 9600a771999de20fb22130cdb97088591508f89f (diff) | |
download | pdfium-a32145f1f16b7b02110bf359208f587d7d486551.tar.xz |
Rename core/fxcrt IFX files to Iface
This CL renames the 3 IFX files in core/fxcrt to Iface instead.
Change-Id: I7cee6836650b71bc5c5729a8147fda62f0910fe3
Reviewed-on: https://pdfium-review.googlesource.com/27970
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.cpp')
-rw-r--r-- | fxjs/cfxjse_formcalc_context.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fxjs/cfxjse_formcalc_context.cpp b/fxjs/cfxjse_formcalc_context.cpp index f773da1e3f..9cd3a739d6 100644 --- a/fxjs/cfxjse_formcalc_context.cpp +++ b/fxjs/cfxjse_formcalc_context.cpp @@ -470,9 +470,9 @@ bool IsWhitespace(char c) { c == 0x0D; } -IFX_Locale* LocaleFromString(CXFA_Document* pDoc, - CXFA_LocaleMgr* pMgr, - const ByteStringView& szLocale) { +LocaleIface* LocaleFromString(CXFA_Document* pDoc, + CXFA_LocaleMgr* pMgr, + const ByteStringView& szLocale) { if (!szLocale.IsEmpty()) return pMgr->GetLocaleByName(WideString::FromUTF8(szLocale)); @@ -481,7 +481,7 @@ IFX_Locale* LocaleFromString(CXFA_Document* pDoc, return pThisNode->GetLocale(); } -WideString FormatFromString(IFX_Locale* pLocale, +WideString FormatFromString(LocaleIface* pLocale, const ByteStringView& szFormat) { if (!szFormat.IsEmpty()) return WideString::FromUTF8(szFormat); @@ -1638,7 +1638,7 @@ void CFXJSE_FormCalcContext::Time2Num(CFXJSE_Value* pThis, CXFA_Document* pDoc = ToJSContext(pThis, nullptr)->GetDocument(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = nullptr; + LocaleIface* pLocale = nullptr; if (localString.IsEmpty()) { CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); ASSERT(pThisNode); @@ -1998,7 +1998,7 @@ ByteString CFXJSE_FormCalcContext::Local2IsoDate( return ByteString(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = LocaleFromString(pDoc, pMgr, szLocale); + LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2022,7 +2022,7 @@ ByteString CFXJSE_FormCalcContext::IsoDate2Local( return ByteString(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = LocaleFromString(pDoc, pMgr, szLocale); + LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2044,7 +2044,7 @@ ByteString CFXJSE_FormCalcContext::IsoTime2Local( return ByteString(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = LocaleFromString(pDoc, pMgr, szLocale); + LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2126,7 +2126,7 @@ ByteString CFXJSE_FormCalcContext::GetLocalDateFormat( return ByteString(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = LocaleFromString(pDoc, pMgr, szLocale); + LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2149,7 +2149,7 @@ ByteString CFXJSE_FormCalcContext::GetLocalTimeFormat( return ByteString(); CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); - IFX_Locale* pLocale = LocaleFromString(pDoc, pMgr, szLocale); + LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -3768,7 +3768,7 @@ void CFXJSE_FormCalcContext::Format(CFXJSE_Value* pThis, CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); ASSERT(pThisNode); - IFX_Locale* pLocale = pThisNode->GetLocale(); + LocaleIface* pLocale = pThisNode->GetLocale(); uint32_t patternType; WideString wsPattern = WideString::FromUTF8(szPattern.AsStringView()); WideString wsValue = WideString::FromUTF8(szValue.AsStringView()); @@ -3950,7 +3950,7 @@ void CFXJSE_FormCalcContext::Parse(CFXJSE_Value* pThis, CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); ASSERT(pThisNode); - IFX_Locale* pLocale = pThisNode->GetLocale(); + LocaleIface* pLocale = pThisNode->GetLocale(); WideString wsPattern = WideString::FromUTF8(szPattern.AsStringView()); WideString wsValue = WideString::FromUTF8(szValue.AsStringView()); uint32_t patternType; |