From 5822da79e645ad896c4aeec623d38a92ee7231a8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 30 Jul 2018 17:46:18 +0000 Subject: Fix a misspelling of "locale". Change-Id: I3fdc6d473f08835b6caeacbbd583bb651a9c5678 Reviewed-on: https://pdfium-review.googlesource.com/39111 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- fxjs/cfxjse_formcalc_context.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'fxjs') diff --git a/fxjs/cfxjse_formcalc_context.cpp b/fxjs/cfxjse_formcalc_context.cpp index 40f4249ab7..d8f7aff09f 100644 --- a/fxjs/cfxjse_formcalc_context.cpp +++ b/fxjs/cfxjse_formcalc_context.cpp @@ -1238,7 +1238,7 @@ void CFXJSE_FormCalcContext::IsoTime2Num(CFXJSE_Value* pThis, } CXFA_Document* pDoc = pContext->GetDocument(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); ByteString szArgString = ValueToUTF8String(argOne.get()); auto pos = szArgString.Find('T', 0); if (!pos.has_value() || pos.value() == szArgString.GetLength() - 1) { @@ -1639,7 +1639,7 @@ void CFXJSE_FormCalcContext::Time2Num(CFXJSE_Value* pThis, } CXFA_Document* pDoc = ToFormCalcContext(pThis)->GetDocument(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = nullptr; if (localString.IsEmpty()) { CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); @@ -1999,7 +1999,7 @@ ByteString CFXJSE_FormCalcContext::Local2IsoDate( if (!pDoc) return ByteString(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2023,7 +2023,7 @@ ByteString CFXJSE_FormCalcContext::IsoDate2Local( if (!pDoc) return ByteString(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2045,7 +2045,7 @@ ByteString CFXJSE_FormCalcContext::IsoTime2Local( if (!pDoc) return ByteString(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2127,7 +2127,7 @@ ByteString CFXJSE_FormCalcContext::GetLocalDateFormat( if (!pDoc) return ByteString(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -2150,7 +2150,7 @@ ByteString CFXJSE_FormCalcContext::GetLocalTimeFormat( if (!pDoc) return ByteString(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); LocaleIface* pLocale = LocaleFromString(pDoc, pMgr, szLocale); if (!pLocale) return ByteString(); @@ -3766,7 +3766,7 @@ void CFXJSE_FormCalcContext::Format(CFXJSE_Value* pThis, ByteString szValue = ValueToUTF8String(argTwo.get()); CXFA_Document* pDoc = pContext->GetDocument(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); ASSERT(pThisNode); @@ -3941,7 +3941,7 @@ void CFXJSE_FormCalcContext::Parse(CFXJSE_Value* pThis, ByteString szPattern = ValueToUTF8String(argOne.get()); ByteString szValue = ValueToUTF8String(argTwo.get()); CXFA_Document* pDoc = pContext->GetDocument(); - CXFA_LocaleMgr* pMgr = pDoc->GetLocalMgr(); + CXFA_LocaleMgr* pMgr = pDoc->GetLocaleMgr(); CXFA_Node* pThisNode = ToNode(pDoc->GetScriptContext()->GetThisObject()); ASSERT(pThisNode); -- cgit v1.2.3