Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: core/fpdfapi/fpdf_parser/cpdf_object.cpp

Issue 1879683002: Remove CPDF_Object::GetConstString and overrides (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Move bLuminosity down. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_name.cpp ('k') | core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698