| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |