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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_Utils.cpp

Issue 1417933002: Add type cast definitions for CPDF_String. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « core/src/fpdftext/fpdf_text_int.cpp ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 <algorithm> 7 #include <algorithm>
8 8
9 #include "../../include/formfiller/FormFiller.h" 9 #include "../../include/formfiller/FormFiller.h"
10 #include "../../include/formfiller/FFL_Utils.h" 10 #include "../../include/formfiller/FFL_Utils.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 CPDF_Object* pDirectObj = pObj->GetDirect(); 74 CPDF_Object* pDirectObj = pObj->GetDirect();
75 TraceObject(pDirectObj); 75 TraceObject(pDirectObj);
76 } break; 76 } break;
77 77
78 case PDFOBJ_BOOLEAN: 78 case PDFOBJ_BOOLEAN:
79 break; 79 break;
80 case PDFOBJ_NUMBER: 80 case PDFOBJ_NUMBER:
81 // TRACE("%d\n",(int32_t)pObj); 81 // TRACE("%d\n",(int32_t)pObj);
82 break; 82 break;
83 case PDFOBJ_STRING: 83 case PDFOBJ_STRING:
84 // TRACE(((CPDF_String*)pObj)->GetString() + "\n"); 84 // TRACE(pObj->AsString()->GetString() + "\n");
85 break; 85 break;
86 case PDFOBJ_NAME: 86 case PDFOBJ_NAME:
87 // TRACE(((CPDF_Name*)pObj)->GetString() + "\n"); 87 // TRACE(((CPDF_Name*)pObj)->GetString() + "\n");
88 break; 88 break;
89 case PDFOBJ_NULL: 89 case PDFOBJ_NULL:
90 // case PDFOBJ_KEYWORD: 90 // case PDFOBJ_KEYWORD:
91 // case PDFOBJ_EOF: 91 // case PDFOBJ_EOF:
92 default: 92 default:
93 break; 93 break;
94 } 94 }
95 if (dwObjNum == 0) 95 if (dwObjNum == 0)
96 return FALSE; 96 return FALSE;
97 97
98 return TRUE; 98 return TRUE;
99 } 99 }
OLDNEW
« no previous file with comments | « core/src/fpdftext/fpdf_text_int.cpp ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698