summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/formfiller/FFL_ListBox.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-24 21:07:28 -0800
committerLei Zhang <thestig@chromium.org>2015-12-24 21:07:28 -0800
commitfcfa3b828b92013a45c6bc6d44b04f42a912eff7 (patch)
treef0172a20fc1eb9a49abbc62a125b87a8d2c79cd3 /fpdfsdk/src/formfiller/FFL_ListBox.cpp
parentaa8bf7e42b8c73a9bc07ed6781364ba05f5a9776 (diff)
downloadpdfium-fcfa3b828b92013a45c6bc6d44b04f42a912eff7.tar.xz
Merge to XFA: Fix a bad virtual keyword removal from commit 0f6b51c.
BUG=546744 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1542373002 . (cherry picked from commit ae58ed8bccc56dd78c12d89972b19d58de94f790) Review URL: https://codereview.chromium.org/1548093002 .
Diffstat (limited to 'fpdfsdk/src/formfiller/FFL_ListBox.cpp')
-rw-r--r--fpdfsdk/src/formfiller/FFL_ListBox.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_ListBox.cpp b/fpdfsdk/src/formfiller/FFL_ListBox.cpp
index d00bfb12ff..d9244e699f 100644
--- a/fpdfsdk/src/formfiller/FFL_ListBox.cpp
+++ b/fpdfsdk/src/formfiller/FFL_ListBox.cpp
@@ -36,10 +36,8 @@ PWL_CREATEPARAM CFFL_ListBox::GetCreateParam() {
if (cp.dwFlags & PWS_AUTOFONTSIZE)
cp.fFontSize = FFL_DEFAULTLISTBOXFONTSIZE;
- if (!m_pFontMap) {
+ if (!m_pFontMap)
m_pFontMap = new CBA_FontMap(m_pWidget, m_pApp->GetSysHandler());
- m_pFontMap->Initial();
- }
cp.pFontMap = m_pFontMap;
return cp;