| Index: core/fpdftext/fpdf_text_int.cpp
|
| diff --git a/core/fpdftext/fpdf_text_int.cpp b/core/fpdftext/fpdf_text_int.cpp
|
| index 8ae2c1ef356d3ab842d570a2a0dbe4093f1d12ea..8caac8a9acc98c69baf4a7392e73be603a467f61 100644
|
| --- a/core/fpdftext/fpdf_text_int.cpp
|
| +++ b/core/fpdftext/fpdf_text_int.cpp
|
| @@ -150,13 +150,14 @@ CPDF_TextPage::CPDF_TextPage(const CPDF_Page* pPage, FPDFText_Direction flags)
|
| m_parserflag(flags),
|
| m_pPreTextObj(nullptr),
|
| m_bIsParsed(false),
|
| - m_TextlineDir(-1),
|
| - m_CurlineRect(0, 0, 0, 0) {
|
| + m_TextlineDir(-1) {
|
| m_TextBuf.EstimateSize(0, 10240);
|
| pPage->GetDisplayMatrix(m_DisplayMatrix, 0, 0, (int)pPage->GetPageWidth(),
|
| (int)pPage->GetPageHeight(), 0);
|
| }
|
|
|
| +CPDF_TextPage::~CPDF_TextPage() {}
|
| +
|
| bool CPDF_TextPage::IsControlChar(const PAGECHAR_INFO& charInfo) {
|
| switch (charInfo.m_Unicode) {
|
| case 0x2:
|
| @@ -1832,6 +1833,8 @@ CPDF_TextPageFind::CPDF_TextPageFind(const CPDF_TextPage* pTextPage)
|
| }
|
| }
|
|
|
| +CPDF_TextPageFind::~CPDF_TextPageFind() {}
|
| +
|
| int CPDF_TextPageFind::GetCharIndex(int index) const {
|
| return m_pTextPage->CharIndexFromTextIndex(index);
|
| }
|
|
|