diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-02 06:49:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-02 06:49:58 -0700 |
commit | b696f7d616ef397a01af1d6bd01c061922a259f7 (patch) | |
tree | 62d36b02b1c59320461235da8ee68009a6f544de /xfa/fee/fde_txtedtparag.cpp | |
parent | 038bf0b129e56212a6de0989dca1ae023bb17c5d (diff) | |
download | pdfium-b696f7d616ef397a01af1d6bd01c061922a259f7.tar.xz |
Remove IFDE_TxtEdt interfaces where possible.
This CL removes the following and uses the only instance instead.
* IFDE_TxtEdtParag
* IFDE_TxtEdtEventSink
* IFDE_TxtEdtEngine
* IFDE_TxtEdtBuf
Review-Url: https://codereview.chromium.org/1927973003
Diffstat (limited to 'xfa/fee/fde_txtedtparag.cpp')
-rw-r--r-- | xfa/fee/fde_txtedtparag.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fee/fde_txtedtparag.cpp b/xfa/fee/fde_txtedtparag.cpp index 0aae327b16..f49f43147d 100644 --- a/xfa/fee/fde_txtedtparag.cpp +++ b/xfa/fee/fde_txtedtparag.cpp @@ -9,7 +9,6 @@ #include "xfa/fee/fde_txtedtbuf.h" #include "xfa/fee/fde_txtedtengine.h" #include "xfa/fee/fx_wordbreak/fx_wordbreak.h" -#include "xfa/fee/ifde_txtedtbuf.h" #include "xfa/fee/ifde_txtedtengine.h" #include "xfa/fgas/layout/fgas_textbreak.h" @@ -32,7 +31,7 @@ void CFDE_TxtEdtParag::LoadParag() { return; } CFX_TxtBreak* pTxtBreak = m_pEngine->GetTextBreak(); - IFDE_TxtEdtBuf* pTxtBuf = m_pEngine->GetTextBuf(); + CFDE_TxtEdtBuf* pTxtBuf = m_pEngine->GetTextBuf(); const FDE_TXTEDTPARAMS* pParam = m_pEngine->GetEditParams(); FX_WCHAR wcAlias = 0; if (pParam->dwMode & FDE_TEXTEDITMODE_Password) { @@ -102,7 +101,7 @@ void CFDE_TxtEdtParag::UnloadParag() { } void CFDE_TxtEdtParag::CalcLines() { CFX_TxtBreak* pTxtBreak = m_pEngine->GetTextBreak(); - IFDE_TxtEdtBuf* pTxtBuf = m_pEngine->GetTextBuf(); + CFDE_TxtEdtBuf* pTxtBuf = m_pEngine->GetTextBuf(); IFX_CharIter* pIter = new CFDE_TxtEdtBufIter((CFDE_TxtEdtBuf*)pTxtBuf); int32_t nCount = 0; uint32_t dwBreakStatus = FX_TXTBREAK_None; |