summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_listbox.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_listbox.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_listbox.cpp')
-rw-r--r--xfa/fwl/cfwl_listbox.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_listbox.cpp b/xfa/fwl/cfwl_listbox.cpp
index 30c160a248..c126e5afb5 100644
--- a/xfa/fwl/cfwl_listbox.cpp
+++ b/xfa/fwl/cfwl_listbox.cpp
@@ -1040,10 +1040,6 @@ void CFWL_ListBox::GetItemRect(CFWL_Widget* pWidget,
rtItem = static_cast<CFWL_ListItem*>(pItem)->m_rtItem;
}
-void* CFWL_ListBox::GetItemData(CFWL_Widget* pWidget, CFWL_ListItem* pItem) {
- return pItem ? static_cast<CFWL_ListItem*>(pItem)->m_pData : nullptr;
-}
-
void CFWL_ListBox::SetItemStyles(CFWL_Widget* pWidget,
CFWL_ListItem* pItem,
uint32_t dwStyle) {