diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-15 12:33:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-15 12:33:06 -0800 |
commit | 38eaf4b11383e24a00192132b683cc07e38622a6 (patch) | |
tree | 169f9d48784035519ddee9191aa412cc817a4531 /xfa/fwl/core/ifwl_listbox.cpp | |
parent | 05b9a317d66c29f740e4b0e89ea87143a11d61fc (diff) | |
download | pdfium-38eaf4b11383e24a00192132b683cc07e38622a6.tar.xz |
Cleanup cfwl_* files.
This Cl cleans up the visibility, method usage and return values in the
remaining CFWL files.
Review-Url: https://codereview.chromium.org/2498163002
Diffstat (limited to 'xfa/fwl/core/ifwl_listbox.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_listbox.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fwl/core/ifwl_listbox.cpp b/xfa/fwl/core/ifwl_listbox.cpp index e468602cdf..041e008065 100644 --- a/xfa/fwl/core/ifwl_listbox.cpp +++ b/xfa/fwl/core/ifwl_listbox.cpp @@ -235,14 +235,6 @@ void IFWL_ListBox::GetItemText(CFWL_ListItem* pItem, CFX_WideString& wsText) { pData->GetItemText(this, pItem, wsText); } -void IFWL_ListBox::GetScrollPos(FX_FLOAT& fPos, bool bVert) { - if ((bVert && IsShowScrollBar(true)) || (!bVert && IsShowScrollBar(false))) { - IFWL_ScrollBar* pScrollBar = - bVert ? m_pVertScrollBar.get() : m_pHorzScrollBar.get(); - fPos = pScrollBar->GetPos(); - } -} - CFWL_ListItem* IFWL_ListBox::GetItem(CFWL_ListItem* pItem, uint32_t dwKeyCode) { CFWL_ListItem* hRet = nullptr; switch (dwKeyCode) { |