| 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 "../../public/fpdf_text.h" |
| 7 #include "../include/fsdk_define.h" | 8 #include "../include/fsdk_define.h" |
| 8 #include "../include/fpdftext.h" | |
| 9 #include "../include/fpdfxfa/fpdfxfa_doc.h" | 9 #include "../include/fpdfxfa/fpdfxfa_doc.h" |
| 10 #include "../include/fpdfxfa/fpdfxfa_page.h" | 10 #include "../include/fpdfxfa/fpdfxfa_page.h" |
| 11 | 11 |
| 12 #ifdef _WIN32 | 12 #ifdef _WIN32 |
| 13 #include <tchar.h> | 13 #include <tchar.h> |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 // jabdelmalek: commented out to build on Linux. Not used. | 16 // jabdelmalek: commented out to build on Linux. Not used. |
| 17 // extern HANDLE g_hModule; | 17 // extern HANDLE g_hModule; |
| 18 | 18 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 250 } |
| 251 } | 251 } |
| 252 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) | 252 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) |
| 253 { | 253 { |
| 254 if (!link_page) return; | 254 if (!link_page) return; |
| 255 IPDF_LinkExtract* pageLink=(IPDF_LinkExtract*)link_page; | 255 IPDF_LinkExtract* pageLink=(IPDF_LinkExtract*)link_page; |
| 256 delete pageLink; | 256 delete pageLink; |
| 257 pageLink =NULL; | 257 pageLink =NULL; |
| 258 } | 258 } |
| 259 | 259 |
| OLD | NEW |