summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_sectioninfo.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 14:52:55 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 19:17:58 +0000
commit480ca10f7a20dd65921dcec046d91b503f3599c3 (patch)
treeead45f281e1f2d78cb26e8e1ad427f751acdfa17 /core/fpdfdoc/cpvt_sectioninfo.cpp
parent671a799082092684dad4b622f7cb9da619fe2f5f (diff)
downloadpdfium-480ca10f7a20dd65921dcec046d91b503f3599c3.tar.xz
Remove unused CPVT_SecPropschromium/3234
The CPVT_SecProps were assigned but never accessed. Removed. Change-Id: I2ed15f44dc7a428261e729fc7a835885257d4807 Reviewed-on: https://pdfium-review.googlesource.com/15671 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_sectioninfo.cpp')
-rw-r--r--core/fpdfdoc/cpvt_sectioninfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/fpdfdoc/cpvt_sectioninfo.cpp b/core/fpdfdoc/cpvt_sectioninfo.cpp
index ec0262c1a0..96ce37da8b 100644
--- a/core/fpdfdoc/cpvt_sectioninfo.cpp
+++ b/core/fpdfdoc/cpvt_sectioninfo.cpp
@@ -21,11 +21,6 @@ void CPVT_SectionInfo::operator=(const CPVT_SectionInfo& other) {
rcSection = other.rcSection;
nTotalLine = other.nTotalLine;
- if (other.pSecProps)
- pSecProps = pdfium::MakeUnique<CPVT_SecProps>(*other.pSecProps);
- else
- pSecProps.reset();
-
if (other.pWordProps)
pWordProps = pdfium::MakeUnique<CPVT_WordProps>(*other.pWordProps);
else