| 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 15 matching lines...) Expand all Loading... |
| 26 if (m_ObjNum) | 26 if (m_ObjNum) |
| 27 return; | 27 return; |
| 28 | 28 |
| 29 Destroy(); | 29 Destroy(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 CFX_ByteString CPDF_Object::GetString() const { | 32 CFX_ByteString CPDF_Object::GetString() const { |
| 33 return CFX_ByteString(); | 33 return CFX_ByteString(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 CFX_ByteStringC CPDF_Object::GetConstString() const { | |
| 37 return CFX_ByteStringC(); | |
| 38 } | |
| 39 | |
| 40 CFX_WideString CPDF_Object::GetUnicodeText() const { | 36 CFX_WideString CPDF_Object::GetUnicodeText() const { |
| 41 return CFX_WideString(); | 37 return CFX_WideString(); |
| 42 } | 38 } |
| 43 | 39 |
| 44 FX_FLOAT CPDF_Object::GetNumber() const { | 40 FX_FLOAT CPDF_Object::GetNumber() const { |
| 45 return 0; | 41 return 0; |
| 46 } | 42 } |
| 47 | 43 |
| 48 int CPDF_Object::GetInteger() const { | 44 int CPDF_Object::GetInteger() const { |
| 49 return 0; | 45 return 0; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 return nullptr; | 145 return nullptr; |
| 150 } | 146 } |
| 151 | 147 |
| 152 CPDF_String* CPDF_Object::AsString() { | 148 CPDF_String* CPDF_Object::AsString() { |
| 153 return nullptr; | 149 return nullptr; |
| 154 } | 150 } |
| 155 | 151 |
| 156 const CPDF_String* CPDF_Object::AsString() const { | 152 const CPDF_String* CPDF_Object::AsString() const { |
| 157 return nullptr; | 153 return nullptr; |
| 158 } | 154 } |
| OLD | NEW |