| 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/parser/cpdf_object.h" | 7 #include "core/fpdfapi/parser/cpdf_object.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 int CPDF_Object::GetInteger() const { | 57 int CPDF_Object::GetInteger() const { |
| 58 return 0; | 58 return 0; |
| 59 } | 59 } |
| 60 | 60 |
| 61 CPDF_Dictionary* CPDF_Object::GetDict() const { | 61 CPDF_Dictionary* CPDF_Object::GetDict() const { |
| 62 return nullptr; | 62 return nullptr; |
| 63 } | 63 } |
| 64 | 64 |
| 65 void CPDF_Object::SetString(const CFX_ByteString& str) { | 65 void CPDF_Object::SetString(const CFX_ByteString& str) { |
| 66 ASSERT(FALSE); | 66 ASSERT(false); |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool CPDF_Object::IsArray() const { | 69 bool CPDF_Object::IsArray() const { |
| 70 return false; | 70 return false; |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool CPDF_Object::IsBoolean() const { | 73 bool CPDF_Object::IsBoolean() const { |
| 74 return false; | 74 return false; |
| 75 } | 75 } |
| 76 | 76 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 return nullptr; | 154 return nullptr; |
| 155 } | 155 } |
| 156 | 156 |
| 157 CPDF_String* CPDF_Object::AsString() { | 157 CPDF_String* CPDF_Object::AsString() { |
| 158 return nullptr; | 158 return nullptr; |
| 159 } | 159 } |
| 160 | 160 |
| 161 const CPDF_String* CPDF_Object::AsString() const { | 161 const CPDF_String* CPDF_Object::AsString() const { |
| 162 return nullptr; | 162 return nullptr; |
| 163 } | 163 } |
| OLD | NEW |