diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-09 09:55:54 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-09 09:55:54 -0800 |
commit | 11d93559cea7a0894e05249e7dac2035ad79994e (patch) | |
tree | 801b9cd68ffef73b861708759c0304097a384fa4 /core/src/fpdftext/text_int.h | |
parent | 56cf589f6ecc85a84c183956bdcb071ec16567d9 (diff) | |
download | pdfium-11d93559cea7a0894e05249e7dac2035ad79994e.tar.xz |
Banish CFX_WordArray to XFA-land.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1676913004 .
Diffstat (limited to 'core/src/fpdftext/text_int.h')
-rw-r--r-- | core/src/fpdftext/text_int.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h index 8a803261e9..c420bc7702 100644 --- a/core/src/fpdftext/text_int.h +++ b/core/src/fpdftext/text_int.h @@ -8,6 +8,7 @@ #define CORE_SRC_FPDFTEXT_TEXT_INT_H_ #include <deque> +#include <vector> #include "core/include/fpdftext/fpdf_text.h" #include "core/include/fxcrt/fx_basic.h" @@ -130,7 +131,7 @@ class CPDF_TextPage : public IPDF_TextPage { const CPDF_Font* pFont, int nItems) const; - CFX_WordArray m_CharIndex; + std::vector<FX_WORD> m_CharIndex; const CPDF_PageObjectList* const m_pPage; std::deque<PAGECHAR_INFO> m_CharList; std::deque<PAGECHAR_INFO> m_TempCharList; @@ -180,7 +181,7 @@ class CPDF_TextPageFind : public IPDF_TextPageFind { int GetCharIndex(int index) const; private: - CFX_WordArray m_CharIndex; + std::vector<FX_WORD> m_CharIndex; const IPDF_TextPage* m_pTextPage; CFX_WideString m_strText; CFX_WideString m_findWhat; |