summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_listbox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 18:11:16 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 18:11:17 -0800
commit4572c8a20beee5cbab2eb1a90cb6cadcc5fa512c (patch)
tree3efd738042096ce5c4895f55a7e71065210a9a06 /xfa/fwl/core/cfwl_listbox.cpp
parent4bd717ba4e40d4d3775c5e19334f4733fca8cb42 (diff)
downloadpdfium-chromium/2928.tar.xz
Remove the GetCaption dataprovider methodchromium/2928
This method mostly returns L"". In the one case where it returns something different the value is substituted into the callsite. The IFWL_Tooltip class was using the caption, but it is not currently being used. Removed as well. Review-Url: https://codereview.chromium.org/2522663002
Diffstat (limited to 'xfa/fwl/core/cfwl_listbox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_listbox.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fwl/core/cfwl_listbox.cpp b/xfa/fwl/core/cfwl_listbox.cpp
index faedf5bef7..4c933bf24e 100644
--- a/xfa/fwl/core/cfwl_listbox.cpp
+++ b/xfa/fwl/core/cfwl_listbox.cpp
@@ -99,10 +99,6 @@ uint32_t CFWL_ListBox::GetItemStates(CFWL_ListItem* pItem) {
return pItem->m_dwStates | pItem->m_dwCheckState;
}
-void CFWL_ListBox::GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) {
- wsCaption = L"";
-}
-
int32_t CFWL_ListBox::CountItems(const IFWL_Widget* pWidget) const {
return pdfium::CollectionSize<int32_t>(m_ItemArray);
}