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

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

Issue 2001783003: Get rid of CPDF_Object::GetArray(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 7 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_data_avail.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