summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_list.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-24 08:56:42 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-24 13:20:50 +0000
commit677275efd05ce5dcbbd62f474db1f0a59e45cce8 (patch)
treeeb987262dd9deb118c11dcdc752c0f49b5c73fdd /fpdfsdk/fxedit/fxet_list.cpp
parenta41171968af1cdf3ebeb6254b0be8c2e495095d6 (diff)
downloadpdfium-677275efd05ce5dcbbd62f474db1f0a59e45cce8.tar.xz
Cleanup some visibility in fxet_list.h
Change-Id: Ic183f9aaa4c2557d755d40c5cb753fb7d11904b9 Reviewed-on: https://pdfium-review.googlesource.com/8551 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fxedit/fxet_list.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_list.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp
index 949d99217d..fa085f237f 100644
--- a/fpdfsdk/fxedit/fxet_list.cpp
+++ b/fpdfsdk/fxedit/fxet_list.cpp
@@ -29,10 +29,6 @@ void CFX_ListCtrl::Item::SetFontMap(IPVT_FontMap* pFontMap) {
m_pEdit->SetFontMap(pFontMap);
}
-CFX_Edit_Iterator* CFX_ListCtrl::Item::GetIterator() const {
- return m_pEdit->GetIterator();
-}
-
void CFX_ListCtrl::Item::SetText(const CFX_WideString& text) {
m_pEdit->SetText(text);
}
@@ -47,7 +43,7 @@ float CFX_ListCtrl::Item::GetItemHeight() const {
uint16_t CFX_ListCtrl::Item::GetFirstChar() const {
CPVT_Word word;
- CFX_Edit_Iterator* pIterator = GetIterator();
+ CFX_Edit_Iterator* pIterator = m_pEdit->GetIterator();
pIterator->SetAt(1);
pIterator->GetWord(word);
return word.Word;