summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.cpp
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-08-31 16:59:39 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-08-31 14:11:27 +0000
commitd120920fe18bcfa3c102ecd0c7502c00d5f0425a (patch)
tree5f3270d6ef2f021920f0d594b7b42e43ab29b193 /core/fpdfapi/parser/cpdf_parser.cpp
parentcc2b38d41141a939c7ef73c0066418b8d823c681 (diff)
downloadpdfium-d120920fe18bcfa3c102ecd0c7502c00d5f0425a.tar.xz
Fix code style.
rename m_linearized_first_page_cross_ref_start_obj_num --> m_dwLinearizedFirstPageXRefStartObjNum Change-Id: I12194169f10df445d7c81305491775c15c400fad Reviewed-on: https://pdfium-review.googlesource.com/12630 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_parser.cpp')
-rw-r--r--core/fpdfapi/parser/cpdf_parser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.cpp b/core/fpdfapi/parser/cpdf_parser.cpp
index 3bd0574000..c57d65e78e 100644
--- a/core/fpdfapi/parser/cpdf_parser.cpp
+++ b/core/fpdfapi/parser/cpdf_parser.cpp
@@ -116,7 +116,7 @@ CPDF_Parser::CPDF_Parser()
m_FileVersion(0),
m_pEncryptDict(nullptr),
m_TrailerData(pdfium::MakeUnique<TrailerData>()),
- m_linearized_first_page_cross_ref_start_obj_num(0) {}
+ m_dwLinearizedFirstPageXRefStartObjNum(0) {}
CPDF_Parser::~CPDF_Parser() {
ReleaseEncryptHandler();
@@ -1401,7 +1401,7 @@ CPDF_Parser::Error CPDF_Parser::StartLinearizedParse(
bXRefRebuilt = true;
m_LastXRefOffset = 0;
}
- m_linearized_first_page_cross_ref_start_obj_num =
+ m_dwLinearizedFirstPageXRefStartObjNum =
m_ObjectInfo.empty() ? 0 : m_ObjectInfo.begin()->first;
if (bLoadV4) {
std::unique_ptr<CPDF_Dictionary> trailer = LoadTrailerV4();
@@ -1497,8 +1497,8 @@ CPDF_Parser::Error CPDF_Parser::LoadLinearizedMainXRefTable() {
// objnum.
// And should have count equals to first obj number of first page cross ref
// table.
- if (!LoadLinearizedAllCrossRefV4(
- m_LastXRefOffset, m_linearized_first_page_cross_ref_start_obj_num) &&
+ if (!LoadLinearizedAllCrossRefV4(m_LastXRefOffset,
+ m_dwLinearizedFirstPageXRefStartObjNum) &&
!LoadLinearizedAllCrossRefV5(m_LastXRefOffset)) {
m_LastXRefOffset = 0;
m_pSyntax->m_MetadataObjnum = dwSaveMetadataObjnum;