summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_combobox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-08 12:37:53 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-08 12:37:53 -0800
commit53ed03d9d865c312fdaa4434b83ed60619881226 (patch)
treea5afab7a61a2342c7ba38c7c24a4a0301f540c6e /xfa/fwl/cfwl_combobox.cpp
parent80c40de632cc089979dfd5bea351f58aa20930ce (diff)
downloadpdfium-53ed03d9d865c312fdaa4434b83ed60619881226.tar.xz
Remove unused list data pointer
The list item data pointer was never assigned. Removed pointer and referencing code. Review-Url: https://codereview.chromium.org/2563693003
Diffstat (limited to 'xfa/fwl/cfwl_combobox.cpp')
-rw-r--r--xfa/fwl/cfwl_combobox.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fwl/cfwl_combobox.cpp b/xfa/fwl/cfwl_combobox.cpp
index 90366979f4..83c3d4a1d9 100644
--- a/xfa/fwl/cfwl_combobox.cpp
+++ b/xfa/fwl/cfwl_combobox.cpp
@@ -162,14 +162,6 @@ void CFWL_ComboBox::DrawWidget(CFX_Graphics* pGraphics,
param.m_matrix.Concat(*pMatrix);
param.m_rtPart = rtTextBk;
- if (m_iCurSel >= 0) {
- if (void* p = m_pListBox->GetItemData(
- m_pListBox.get(),
- m_pListBox->GetItem(m_pListBox.get(), m_iCurSel))) {
- param.m_pData = p;
- }
- }
-
if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) {
param.m_dwStates = CFWL_PartState_Disabled;
} else if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) &&