summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pwl')
-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;