diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-15 16:44:14 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-15 16:44:14 -0700 |
commit | 0ef0de55657db8a83372ad8eb22d84c5893afc4c (patch) | |
tree | 76082cf24870d47ebb6176a40d1979ef68c365d4 /fpdfsdk/src/fpdf_searchex.cpp | |
parent | 9869e6782f247177955eab27d3d480026365e75b (diff) | |
download | pdfium-0ef0de55657db8a83372ad8eb22d84c5893afc4c.tar.xz |
Do some IWYU cleanups.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1176333002.
Diffstat (limited to 'fpdfsdk/src/fpdf_searchex.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_searchex.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdf_searchex.cpp b/fpdfsdk/src/fpdf_searchex.cpp index d63f8fff46..e012d30590 100644 --- a/fpdfsdk/src/fpdf_searchex.cpp +++ b/fpdfsdk/src/fpdf_searchex.cpp @@ -5,10 +5,14 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../public/fpdf_searchex.h" -#include "../include/fsdk_define.h" -DLLEXPORT int STDCALL FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex) +#include "../../core/include/fpdftext/fpdf_text.h" + +DLLEXPORT int STDCALL FPDFText_GetCharIndexFromTextIndex( + FPDF_TEXTPAGE text_page, + int nTextIndex) { - if(!text_page) return -1; - return ((IPDF_TextPage*)text_page)->CharIndexFromTextIndex(nTextIndex); + if (!text_page) + return -1; + return ((IPDF_TextPage*)text_page)->CharIndexFromTextIndex(nTextIndex); } |