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/fpdfapi/fpdf_parser/include/cpdf_object.h" | 7 #include "core/fpdfapi/fpdf_parser/cpdf_object.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 11 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" |
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 12 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" |
13 #include "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.h" |
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_parser.h" | 14 #include "core/fpdfapi/fpdf_parser/cpdf_parser.h" |
15 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" | 15 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h" |
16 #include "core/fxcrt/include/fx_string.h" | 16 #include "core/fxcrt/include/fx_string.h" |
17 #include "third_party/base/stl_util.h" | 17 #include "third_party/base/stl_util.h" |
18 | 18 |
19 CPDF_Object::~CPDF_Object() {} | 19 CPDF_Object::~CPDF_Object() {} |
20 | 20 |
21 CPDF_Object* CPDF_Object::GetDirect() const { | 21 CPDF_Object* CPDF_Object::GetDirect() const { |
22 return const_cast<CPDF_Object*>(this); | 22 return const_cast<CPDF_Object*>(this); |
23 } | 23 } |
24 | 24 |
25 CPDF_Object* CPDF_Object::CloneObjectNonCyclic(bool bDirect) const { | 25 CPDF_Object* CPDF_Object::CloneObjectNonCyclic(bool bDirect) const { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 return nullptr; | 156 return nullptr; |
157 } | 157 } |
158 | 158 |
159 CPDF_String* CPDF_Object::AsString() { | 159 CPDF_String* CPDF_Object::AsString() { |
160 return nullptr; | 160 return nullptr; |
161 } | 161 } |
162 | 162 |
163 const CPDF_String* CPDF_Object::AsString() const { | 163 const CPDF_String* CPDF_Object::AsString() const { |
164 return nullptr; | 164 return nullptr; |
165 } | 165 } |
OLD | NEW |