diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_variabletext.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_variabletext.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp index d2643e8d64..e12f9491a2 100644 --- a/core/fpdfdoc/cpdf_variabletext.cpp +++ b/core/fpdfdoc/cpdf_variabletext.cpp @@ -11,7 +11,6 @@ #include "core/fpdfapi/font/cpdf_font.h" #include "core/fpdfdoc/cline.h" -#include "core/fpdfdoc/cpvt_section.h" #include "core/fpdfdoc/cpvt_word.h" #include "core/fpdfdoc/cpvt_wordinfo.h" #include "core/fpdfdoc/csection.h" @@ -178,15 +177,6 @@ bool CPDF_VariableText::Iterator::GetLine(CPVT_Line& line) const { return true; } -bool CPDF_VariableText::Iterator::GetSection(CPVT_Section& section) const { - if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) - return false; - - CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); - section.rcSection = m_pVT->InToOut(pSection->m_SecInfo.rcSection); - return true; -} - CPDF_VariableText::CPDF_VariableText() : m_nLimitChar(0), m_nCharArray(0), |