summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_listbox.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-02 13:38:17 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-03 20:20:35 +0000
commitb38c5dfcbb76dc5b731fb969423e4bedcbca19f6 (patch)
treeffed4142823008f5985fb70e73f00885c8262a18 /xfa/fwl/cfwl_listbox.cpp
parentc8fd3318a8deca3e1eabd6f7a9449ae4a0fa964d (diff)
downloadpdfium-b38c5dfcbb76dc5b731fb969423e4bedcbca19f6.tar.xz
Remove CFWL_ListBox::GetDataProviderItemText
This method just proxies to the provided item now. Remove the method and call GetText() directly if possible. Change-Id: Ida49e0e878f859a69f7d5bec9d0f734feb7a763d Reviewed-on: https://pdfium-review.googlesource.com/2130 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
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 28888af9af..d79e48991e 100644
--- a/xfa/fwl/cfwl_listbox.cpp
+++ b/xfa/fwl/cfwl_listbox.cpp
@@ -176,10 +176,6 @@ void CFWL_ListBox::SetSelItem(CFWL_ListItem* pItem, bool bSelect) {
SetSelection(pItem, pItem, bSelect);
}
-CFX_WideString CFWL_ListBox::GetDataProviderItemText(CFWL_ListItem* pItem) {
- return pItem ? pItem->GetText() : L"";
-}
-
CFWL_ListItem* CFWL_ListBox::GetListItem(CFWL_ListItem* pItem,
uint32_t dwKeyCode) {
CFWL_ListItem* hRet = nullptr;