summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_fwltheme.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-18 13:03:58 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-18 13:03:58 -0800
commit78cb28a38481a46ceab861f4159e618509868f94 (patch)
tree7726b1ca801aa75ca6e23c2e009fded1b7adc7d3 /xfa/fxfa/app/xfa_fwltheme.cpp
parent8629ef80661f1fc5e77878ebfc542766df50f5d3 (diff)
downloadpdfium-78cb28a38481a46ceab861f4159e618509868f94.tar.xz
Clean up CFGAS_FontMgrchromium/2925
Review-Url: https://codereview.chromium.org/2512213002
Diffstat (limited to 'xfa/fxfa/app/xfa_fwltheme.cpp')
-rw-r--r--xfa/fxfa/app/xfa_fwltheme.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp
index 7d07d98285..9042ef92cd 100644
--- a/xfa/fxfa/app/xfa_fwltheme.cpp
+++ b/xfa/fxfa/app/xfa_fwltheme.cpp
@@ -68,13 +68,8 @@ CXFA_FWLTheme::CXFA_FWLTheme(CXFA_FFApp* pApp)
m_pApp->GetFDEFontMgr());
}
if (!m_pCalendarFont) {
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
- m_pCalendarFont = m_pApp->GetFDEFontMgr()->GetDefFontByCodePage(
- FX_CODEPAGE_MSWin_WesternEuropean, 0, nullptr);
-#else
m_pCalendarFont = m_pApp->GetFDEFontMgr()->GetFontByCodePage(
FX_CODEPAGE_MSWin_WesternEuropean, 0, nullptr);
-#endif
}
ASSERT(m_pCalendarFont);