summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-30 17:46:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-30 17:46:18 +0000
commit5822da79e645ad896c4aeec623d38a92ee7231a8 (patch)
treeccb36f2ba3b01d6fd0be8ae67914604ea38fd8ca /xfa/fxfa/parser/cxfa_document.cpp
parentec86c716f7efbeb9bf31fb22c95593114c5ed441 (diff)
downloadpdfium-5822da79e645ad896c4aeec623d38a92ee7231a8.tar.xz
Fix a misspelling of "locale".
Change-Id: I3fdc6d473f08835b6caeacbbd583bb651a9c5678 Reviewed-on: https://pdfium-review.googlesource.com/39111 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_document.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_document.cpp b/xfa/fxfa/parser/cxfa_document.cpp
index 4d51c0b0b8..d42bfb5601 100644
--- a/xfa/fxfa/parser/cxfa_document.cpp
+++ b/xfa/fxfa/parser/cxfa_document.cpp
@@ -1294,7 +1294,7 @@ CXFA_LayoutProcessor* CXFA_Document::GetLayoutProcessor() {
void CXFA_Document::ClearLayoutData() {
m_pLayoutProcessor.reset();
m_pScriptContext.reset();
- m_pLocalMgr.reset();
+ m_pLocaleMgr.reset();
m_pScriptDataWindow.reset();
m_pScriptEvent.reset();
m_pScriptHost.reset();
@@ -1421,13 +1421,13 @@ bool CXFA_Document::IsInteractive() {
return false;
}
-CXFA_LocaleMgr* CXFA_Document::GetLocalMgr() {
- if (!m_pLocalMgr) {
- m_pLocalMgr = pdfium::MakeUnique<CXFA_LocaleMgr>(
+CXFA_LocaleMgr* CXFA_Document::GetLocaleMgr() {
+ if (!m_pLocaleMgr) {
+ m_pLocaleMgr = pdfium::MakeUnique<CXFA_LocaleMgr>(
ToNode(GetXFAObject(XFA_HASHCODE_LocaleSet)),
GetNotify()->GetAppProvider()->GetLanguage());
}
- return m_pLocalMgr.get();
+ return m_pLocaleMgr.get();
}
CFXJSE_Engine* CXFA_Document::InitScriptContext(CJS_Runtime* fxjs_runtime) {