| Index: core/src/fpdftext/fpdf_text_int.cpp
|
| diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp
|
| index 54dc915e56bf6ef533c615071ed5af84eb436a3e..f19d3de9dcee39f3eff8f40dfe96a3be794ef9c6 100644
|
| --- a/core/src/fpdftext/fpdf_text_int.cpp
|
| +++ b/core/src/fpdftext/fpdf_text_int.cpp
|
| @@ -1364,8 +1364,6 @@ void CPDF_TextPage::CloseTempLine()
|
| }
|
| }
|
| }
|
| - int ntext = m_TextBuf.GetSize();
|
| - ntext = m_charList.GetSize();
|
| order.RemoveAll();
|
| m_TempCharList.RemoveAll();
|
| m_TempTextBuf.Delete(0, m_TempTextBuf.GetLength());
|
| @@ -2500,7 +2498,6 @@ void CPDF_TextPageFind::ExtractFindWhat(const CFX_WideString& findwhat)
|
| }
|
| }
|
| int pos = 0;
|
| - FX_BOOL bLastIgnore = FALSE;
|
| while(pos < csWord.GetLength()) {
|
| CFX_WideString curStr = csWord.Mid(pos, 1);
|
| FX_WCHAR curChar = csWord.GetAt(pos);
|
| @@ -2520,10 +2517,7 @@ void CPDF_TextPageFind::ExtractFindWhat(const CFX_WideString& findwhat)
|
| }
|
| csWord = csWord.Right(csWord.GetLength() - pos - 1);
|
| pos = 0;
|
| - bLastIgnore = TRUE;
|
| continue;
|
| - } else {
|
| - bLastIgnore = FALSE;
|
| }
|
| pos++;
|
| }
|
| @@ -2532,7 +2526,6 @@ void CPDF_TextPageFind::ExtractFindWhat(const CFX_WideString& findwhat)
|
| }
|
| index++;
|
| }
|
| - return;
|
| }
|
| FX_BOOL CPDF_TextPageFind::IsMatchWholeWord(const CFX_WideString& csPageText, int startPos, int endPos)
|
| {
|
|
|