Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp

Issue 1563673002: Cleanup includes, comments, and unused code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/include/fpdfapi/fpdf_objects.h"
8
7 #include "core/include/fpdfapi/fpdf_parser.h" 9 #include "core/include/fpdfapi/fpdf_parser.h"
8
9 #include "core/include/fxcrt/fx_string.h" 10 #include "core/include/fxcrt/fx_string.h"
10 #include "third_party/base/stl_util.h" 11 #include "third_party/base/stl_util.h"
11 12
12 namespace { 13 namespace {
13 14
14 const FX_DWORD kBlockSize = 1024; 15 const FX_DWORD kBlockSize = 1024;
15 16
16 } // namespace 17 } // namespace
17 18
18 // static 19 // static
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 } 1170 }
1170 pObj->m_ObjNum = objnum; 1171 pObj->m_ObjNum = objnum;
1171 m_IndirectObjs.SetAt((void*)(uintptr_t)objnum, pObj); 1172 m_IndirectObjs.SetAt((void*)(uintptr_t)objnum, pObj);
1172 if (m_LastObjNum < objnum) 1173 if (m_LastObjNum < objnum)
1173 m_LastObjNum = objnum; 1174 m_LastObjNum = objnum;
1174 return TRUE; 1175 return TRUE;
1175 } 1176 }
1176 FX_DWORD CPDF_IndirectObjects::GetLastObjNum() const { 1177 FX_DWORD CPDF_IndirectObjects::GetLastObjNum() const {
1177 return m_LastObjNum; 1178 return m_LastObjNum;
1178 } 1179 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698