summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_monthcalendartp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-13 12:04:43 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-13 12:04:43 -0700
commit380f20a6000bd640d7fd8f1567961f1f05d79f5a (patch)
treeba8dd6ef2825381171eca97a3b90de9fd7d9ed07 /xfa/fwl/theme/cfwl_monthcalendartp.cpp
parenta654f0d0889c50d0995bd873c119ae75b0ab5a09 (diff)
downloadpdfium-380f20a6000bd640d7fd8f1567961f1f05d79f5a.tar.xz
Remove some FWL code.
Remove unused or ifdef'd code from FWL. Review URL: https://codereview.chromium.org/1874963002
Diffstat (limited to 'xfa/fwl/theme/cfwl_monthcalendartp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_monthcalendartp.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp
index 2d53080b37..154a6bdcea 100644
--- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp
+++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp
@@ -101,23 +101,15 @@ FX_BOOL CFWL_MonthCalendarTP::DrawBackground(CFWL_ThemeBackground* pParams) {
break;
}
case FWL_PART_MCD_LBtn: {
-#ifdef THEME_XPSimilar
FWLTHEME_STATE eState = GetState(pParams->m_dwStates);
DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart,
FWLTHEME_DIRECTION_Left, eState, &pParams->m_matrix);
-#else
- DrawLButton(pParams, &pParams->m_matrix);
-#endif
break;
}
case FWL_PART_MCD_RBtn: {
-#ifdef THEME_XPSimilar
FWLTHEME_STATE eState = GetState(pParams->m_dwStates);
DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart,
FWLTHEME_DIRECTION_Right, eState, &pParams->m_matrix);
-#else
- DrawRButton(pParams, &pParams->m_matrix);
-#endif
break;
}
case FWL_PART_MCD_HSeparator: {