| 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/include/cpdf_object.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } | 42 } |
| 43 | 43 |
| 44 int CPDF_Object::GetInteger() const { | 44 int CPDF_Object::GetInteger() const { |
| 45 return 0; | 45 return 0; |
| 46 } | 46 } |
| 47 | 47 |
| 48 CPDF_Dictionary* CPDF_Object::GetDict() const { | 48 CPDF_Dictionary* CPDF_Object::GetDict() const { |
| 49 return nullptr; | 49 return nullptr; |
| 50 } | 50 } |
| 51 | 51 |
| 52 CPDF_Array* CPDF_Object::GetArray() const { | |
| 53 return nullptr; | |
| 54 } | |
| 55 | |
| 56 void CPDF_Object::SetString(const CFX_ByteString& str) { | 52 void CPDF_Object::SetString(const CFX_ByteString& str) { |
| 57 ASSERT(FALSE); | 53 ASSERT(FALSE); |
| 58 } | 54 } |
| 59 | 55 |
| 60 bool CPDF_Object::IsArray() const { | 56 bool CPDF_Object::IsArray() const { |
| 61 return false; | 57 return false; |
| 62 } | 58 } |
| 63 | 59 |
| 64 bool CPDF_Object::IsBoolean() const { | 60 bool CPDF_Object::IsBoolean() const { |
| 65 return false; | 61 return false; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 return nullptr; | 141 return nullptr; |
| 146 } | 142 } |
| 147 | 143 |
| 148 CPDF_String* CPDF_Object::AsString() { | 144 CPDF_String* CPDF_Object::AsString() { |
| 149 return nullptr; | 145 return nullptr; |
| 150 } | 146 } |
| 151 | 147 |
| 152 const CPDF_String* CPDF_Object::AsString() const { | 148 const CPDF_String* CPDF_Object::AsString() const { |
| 153 return nullptr; | 149 return nullptr; |
| 154 } | 150 } |
| OLD | NEW |