OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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/cpdf_indirect_object_holder.h" | 7 #include "core/include/fpdfapi/cpdf_indirect_object_holder.h" |
8 #include "core/include/fpdfapi/cpdf_object.h" | 8 #include "core/include/fpdfapi/cpdf_object.h" |
9 #include "core/include/fpdfapi/cpdf_parser.h" | 9 #include "core/include/fpdfapi/cpdf_parser.h" |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 pObj->Destroy(); | 71 pObj->Destroy(); |
72 return FALSE; | 72 return FALSE; |
73 } | 73 } |
74 it->second->Destroy(); | 74 it->second->Destroy(); |
75 } | 75 } |
76 pObj->m_ObjNum = objnum; | 76 pObj->m_ObjNum = objnum; |
77 m_IndirectObjs[objnum] = pObj; | 77 m_IndirectObjs[objnum] = pObj; |
78 m_LastObjNum = std::max(m_LastObjNum, objnum); | 78 m_LastObjNum = std::max(m_LastObjNum, objnum); |
79 return TRUE; | 79 return TRUE; |
80 } | 80 } |
OLD | NEW |