summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_listbox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-21 10:14:10 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-21 10:14:10 -0700
commit5819e4f334521cb1599f3d5f1f28df40528727ba (patch)
treeabb2122cb18962e4c440cbeaaa6652679b9f5b8e /fpdfsdk/formfiller/cffl_listbox.cpp
parentb873def79f7b1d83a55dc60d633ed607b319ff4f (diff)
downloadpdfium-5819e4f334521cb1599f3d5f1f28df40528727ba.tar.xz
Rename m_pApp to m_pEnv
The m_pApp variable holds a CPDFSDK_Environment. This Cl renames the variable to be m_pEnv so as not to confuse with the various App classes that exist. Review-Url: https://codereview.chromium.org/2357293002
Diffstat (limited to 'fpdfsdk/formfiller/cffl_listbox.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_listbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/formfiller/cffl_listbox.cpp b/fpdfsdk/formfiller/cffl_listbox.cpp
index a089432477..0f253ec380 100644
--- a/fpdfsdk/formfiller/cffl_listbox.cpp
+++ b/fpdfsdk/formfiller/cffl_listbox.cpp
@@ -36,7 +36,7 @@ PWL_CREATEPARAM CFFL_ListBox::GetCreateParam() {
cp.fFontSize = FFL_DEFAULTLISTBOXFONTSIZE;
if (!m_pFontMap)
- m_pFontMap.reset(new CBA_FontMap(m_pWidget, m_pApp->GetSysHandler()));
+ m_pFontMap.reset(new CBA_FontMap(m_pWidget, m_pEnv->GetSysHandler()));
cp.pFontMap = m_pFontMap.get();
return cp;
@@ -48,7 +48,7 @@ CPWL_Wnd* CFFL_ListBox::NewPDFWindow(const PWL_CREATEPARAM& cp,
pWnd->AttachFFLData(this);
pWnd->Create(cp);
- CFFL_IFormFiller* pIFormFiller = m_pApp->GetIFormFiller();
+ CFFL_IFormFiller* pIFormFiller = m_pEnv->GetIFormFiller();
pWnd->SetFillerNotify(pIFormFiller);
for (int32_t i = 0, sz = m_pWidget->CountOptions(); i < sz; i++)