summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-01-03 15:43:25 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-03 21:18:11 +0000
commitcbcae9be4461b9271315038bc5a30262d26626c1 (patch)
tree66f54b4872e6a1f48cd22d4ed46cc786cd0deacb /fpdfsdk
parent368c634f87eb5fdf03a532d3125d9b6c5400f61a (diff)
downloadpdfium-cbcae9be4461b9271315038bc5a30262d26626c1.tar.xz
Remove unused methods from CPDF_VariableText
Change-Id: Id8012a5769df68d29da5c58cc821c71ca93240e1 Reviewed-on: https://pdfium-review.googlesource.com/22111 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/pwl/cpwl_edit_impl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit_impl.cpp b/fpdfsdk/pwl/cpwl_edit_impl.cpp
index 7f6d8537d4..1b324dc2fc 100644
--- a/fpdfsdk/pwl/cpwl_edit_impl.cpp
+++ b/fpdfsdk/pwl/cpwl_edit_impl.cpp
@@ -111,7 +111,7 @@ void CPWL_EditImpl_Iterator::SetAt(const CPVT_WordPlace& place) {
}
const CPVT_WordPlace& CPWL_EditImpl_Iterator::GetAt() const {
- return m_pVTIterator->GetAt();
+ return m_pVTIterator->GetWordPlace();
}
CPWL_EditImpl_Provider::CPWL_EditImpl_Provider(IPVT_FontMap* pFontMap)
@@ -723,9 +723,9 @@ WideString CPWL_EditImpl::GetText() const {
pIterator->SetAt(0);
CPVT_Word wordinfo;
- CPVT_WordPlace oldplace = pIterator->GetAt();
+ CPVT_WordPlace oldplace = pIterator->GetWordPlace();
while (pIterator->NextWord()) {
- CPVT_WordPlace place = pIterator->GetAt();
+ CPVT_WordPlace place = pIterator->GetWordPlace();
if (pIterator->GetWord(wordinfo))
swRet += wordinfo.Word;
if (oldplace.nSecIndex != place.nSecIndex)
@@ -749,7 +749,7 @@ WideString CPWL_EditImpl::GetRangeText(const CPVT_WordRange& range) const {
CPVT_Word wordinfo;
CPVT_WordPlace oldplace = wrTemp.BeginPos;
while (pIterator->NextWord()) {
- CPVT_WordPlace place = pIterator->GetAt();
+ CPVT_WordPlace place = pIterator->GetWordPlace();
if (place > wrTemp.EndPos)
break;
if (pIterator->GetWord(wordinfo))
@@ -1190,7 +1190,7 @@ void CPWL_EditImpl::RefreshWordRange(const CPVT_WordRange& wr) {
CPVT_WordPlace place;
while (pIterator->NextWord()) {
- place = pIterator->GetAt();
+ place = pIterator->GetWordPlace();
if (place > wrTemp.EndPos)
break;