| 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 "../include/fsdk_define.h" | 7 #include "../include/fsdk_define.h" |
| 8 #include "../include/fpdfview.h" | 8 #include "../include/fpdfview.h" |
| 9 #include "../include/fsdk_rendercontext.h" | 9 #include "../include/fsdk_rendercontext.h" |
| 10 #include "../include/fpdf_progressive.h" | 10 #include "../include/fpdf_progressive.h" |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 { | 870 { |
| 871 if (document == NULL) | 871 if (document == NULL) |
| 872 return NULL; | 872 return NULL; |
| 873 if (name == NULL || name[0] == 0) | 873 if (name == NULL || name[0] == 0) |
| 874 return NULL; | 874 return NULL; |
| 875 | 875 |
| 876 CPDF_Document* pDoc = (CPDF_Document*)document; | 876 CPDF_Document* pDoc = (CPDF_Document*)document; |
| 877 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests")); | 877 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests")); |
| 878 return name_tree.LookupNamedDest(pDoc, name); | 878 return name_tree.LookupNamedDest(pDoc, name); |
| 879 } | 879 } |
| OLD | NEW |