diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-19 17:15:41 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-19 17:15:41 -0700 |
commit | e5b0bd1a79f90b7758246655e18ef965a87bcd0b (patch) | |
tree | c67974b862b888e4ae7b3e8928e3abdcff7c3e58 /core/src/fpdftext | |
parent | 1eb69422e2f35a32ed7d12a330fb2505f8a97f3c (diff) | |
download | pdfium-e5b0bd1a79f90b7758246655e18ef965a87bcd0b.tar.xz |
Merge to XFA: Do some IWYU cleanups.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1176333002.
(cherry picked from commit 0ef0de55657db8a83372ad8eb22d84c5893afc4c)
Review URL: https://codereview.chromium.org/1195943005.
Diffstat (limited to 'core/src/fpdftext')
-rw-r--r-- | core/src/fpdftext/fpdf_text.cpp | 5 | ||||
-rw-r--r-- | core/src/fpdftext/fpdf_text_int.cpp | 2 | ||||
-rw-r--r-- | core/src/fpdftext/fpdf_text_search.cpp | 1 | ||||
-rw-r--r-- | core/src/fpdftext/unicodenormalization.cpp | 3 |
4 files changed, 8 insertions, 3 deletions
diff --git a/core/src/fpdftext/fpdf_text.cpp b/core/src/fpdftext/fpdf_text.cpp index 8d32c11ba6..80a39acac9 100644 --- a/core/src/fpdftext/fpdf_text.cpp +++ b/core/src/fpdftext/fpdf_text.cpp @@ -8,8 +8,11 @@ #include "../../include/fpdfapi/fpdf_page.h" #include "../../include/fpdfapi/fpdf_pageobj.h" #include "../../include/fpdftext/fpdf_text.h" -#include "txtproc.h" +#include "../../include/fxcrt/fx_arb.h" +#include "../../include/fxcrt/fx_ucd.h" #include "text_int.h" +#include "txtproc.h" + extern const FX_CHAR* FCS_GetAltStr(FX_WCHAR); CFX_ByteString CharFromUnicodeAlt(FX_WCHAR unicode, int destcp, const FX_CHAR* defchar) { diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp index 84edf812d7..ab6cae19c2 100644 --- a/core/src/fpdftext/fpdf_text_int.cpp +++ b/core/src/fpdftext/fpdf_text_int.cpp @@ -13,6 +13,8 @@ #include "../../include/fpdfapi/fpdf_pageobj.h" #include "../../include/fpdfapi/fpdf_resource.h" #include "../../include/fpdftext/fpdf_text.h" +#include "../../include/fxcrt/fx_arb.h" +#include "../../include/fxcrt/fx_ucd.h" #include "text_int.h" namespace { diff --git a/core/src/fpdftext/fpdf_text_search.cpp b/core/src/fpdftext/fpdf_text_search.cpp index 07f493ea98..21a2564ae6 100644 --- a/core/src/fpdftext/fpdf_text_search.cpp +++ b/core/src/fpdftext/fpdf_text_search.cpp @@ -5,7 +5,6 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../include/fpdfapi/fpdf_pageobj.h" -#include "../../include/fpdftext/fpdf_text.h" #include "../../include/fpdfapi/fpdf_page.h" class CPDF_TextStream { diff --git a/core/src/fpdftext/unicodenormalization.cpp b/core/src/fpdftext/unicodenormalization.cpp index fa3d8120f9..468900c7d8 100644 --- a/core/src/fpdftext/unicodenormalization.cpp +++ b/core/src/fpdftext/unicodenormalization.cpp @@ -4,7 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "../../include/fpdftext/fpdf_text.h" +#include "../../include/fxcrt/fx_string.h" + extern const FX_WCHAR g_UnicodeData_Normalization[]; extern const FX_WCHAR g_UnicodeData_Normalization_Map1[]; extern const FX_WCHAR g_UnicodeData_Normalization_Map2[]; |