summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc/doc_vt.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
committerNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
commit55681f9c135c978cf4ca525dc1d26ff330e83029 (patch)
tree247345a0fb6748af9b868151b1ea59f742e91ba6 /core/src/fpdfdoc/doc_vt.cpp
parentec570e5f77986f6013ea42741001be5a3fcf47a7 (diff)
downloadpdfium-55681f9c135c978cf4ca525dc1d26ff330e83029.tar.xz
Remove a few unused variables, functions, and member variables.
No intended behavior change. BUG=pdfium:29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/426763003
Diffstat (limited to 'core/src/fpdfdoc/doc_vt.cpp')
-rw-r--r--core/src/fpdfdoc/doc_vt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdfdoc/doc_vt.cpp b/core/src/fpdfdoc/doc_vt.cpp
index 09fa2bf416..f3b9bbb484 100644
--- a/core/src/fpdfdoc/doc_vt.cpp
+++ b/core/src/fpdfdoc/doc_vt.cpp
@@ -1741,7 +1741,7 @@ FX_BOOL CPDF_VariableText_Iterator::NextLine()
FX_BOOL CPDF_VariableText_Iterator::PrevLine()
{
ASSERT(m_pVT != NULL);
- if (CSection * pSection = m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex)) {
+ if (m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex)) {
if (m_CurPos.nLineIndex > 0) {
m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex - 1, -1);
return TRUE;
@@ -1779,7 +1779,7 @@ FX_BOOL CPDF_VariableText_Iterator::GetWord(CPVT_Word & word) const
ASSERT(m_pVT != NULL);
word.WordPlace = m_CurPos;
if (CSection * pSection = m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex)) {
- if (CLine * pLine = pSection->m_LineArray.GetAt(m_CurPos.nLineIndex)) {
+ if (pSection->m_LineArray.GetAt(m_CurPos.nLineIndex)) {
if (CPVT_WordInfo * pWord = pSection->m_WordArray.GetAt(m_CurPos.nWordIndex)) {
word.Word = pWord->Word;
word.nCharset = pWord->nCharset;