Remove unused CPVT_SectionInfo::nTotalLines

The nTotalLines member is set but never used. Removed.

Change-Id: Iab59e0954fcdbab665cc477397a94cde66e6087e
Reviewed-on: https://pdfium-review.googlesource.com/15710
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
diff --git a/core/fpdfdoc/cpvt_sectioninfo.cpp b/core/fpdfdoc/cpvt_sectioninfo.cpp
index a23d3e4..cb1dc89 100644
--- a/core/fpdfdoc/cpvt_sectioninfo.cpp
+++ b/core/fpdfdoc/cpvt_sectioninfo.cpp
@@ -7,7 +7,7 @@
 #include "core/fpdfdoc/cpvt_sectioninfo.h"
 #include "third_party/base/ptr_util.h"
 
-CPVT_SectionInfo::CPVT_SectionInfo() : rcSection(), nTotalLine(0) {}
+CPVT_SectionInfo::CPVT_SectionInfo() : rcSection() {}
 
 CPVT_SectionInfo::~CPVT_SectionInfo() {}
 
@@ -18,7 +18,5 @@
 void CPVT_SectionInfo::operator=(const CPVT_SectionInfo& other) {
   if (this == &other)
     return;
-
   rcSection = other.rcSection;
-  nTotalLine = other.nTotalLine;
 }
diff --git a/core/fpdfdoc/cpvt_sectioninfo.h b/core/fpdfdoc/cpvt_sectioninfo.h
index 9483a85..b39cdc9 100644
--- a/core/fpdfdoc/cpvt_sectioninfo.h
+++ b/core/fpdfdoc/cpvt_sectioninfo.h
@@ -19,7 +19,6 @@
   void operator=(const CPVT_SectionInfo& other);
 
   CPVT_FloatRect rcSection;
-  int32_t nTotalLine;
 };
 
 #endif  // CORE_FPDFDOC_CPVT_SECTIONINFO_H_
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp
index 090985e..290b95e 100644
--- a/core/fpdfdoc/ctypeset.cpp
+++ b/core/fpdfdoc/ctypeset.cpp
@@ -445,7 +445,6 @@
   int32_t nTotalLines =
       pdfium::CollectionSize<int32_t>(m_pSection->m_LineArray);
   if (nTotalLines > 0) {
-    m_pSection->m_SecInfo.nTotalLine = nTotalLines;
     for (int32_t l = 0; l < nTotalLines; l++) {
       CLine* pLine = m_pSection->m_LineArray[l].get();
       switch (m_pVT->GetAlignment()) {