diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-13 10:16:05 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 15:46:47 +0000 |
commit | 575898e6251c1dbb8de0d40a5b6ce90762aa2af2 (patch) | |
tree | c9b30307e04200c2621bfd98e4152c47653efcb6 /xfa/fde/cfde_txtedtpage.cpp | |
parent | 068d34426272bd7f02ffc12139ddd33ee2e237e6 (diff) | |
download | pdfium-575898e6251c1dbb8de0d40a5b6ce90762aa2af2.tar.xz |
Remove some single use interfaces
Remove interfaces which are only implemented once.
Change-Id: I73ceaa7bfd7ef2a630479c7eebed5e32ecb99940
Reviewed-on: https://pdfium-review.googlesource.com/2944
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtpage.cpp')
-rw-r--r-- | xfa/fde/cfde_txtedtpage.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xfa/fde/cfde_txtedtpage.cpp b/xfa/fde/cfde_txtedtpage.cpp index 12333c608d..7a2cb1b18d 100644 --- a/xfa/fde/cfde_txtedtpage.cpp +++ b/xfa/fde/cfde_txtedtpage.cpp @@ -16,7 +16,7 @@ #include "xfa/fde/cfde_txtedttextset.h" #include "xfa/fde/cfx_wordbreak.h" #include "xfa/fde/ifde_txtedtengine.h" -#include "xfa/fde/ifde_txtedtpage.h" +#include "xfa/fgas/layout/fgas_textbreak.h" namespace { @@ -24,11 +24,6 @@ const double kTolerance = 0.1f; } // namespace -IFDE_TxtEdtPage* IFDE_TxtEdtPage::Create(CFDE_TxtEdtEngine* pEngine, - int32_t nIndex) { - return new CFDE_TxtEdtPage(pEngine, nIndex); -} - CFDE_TxtEdtPage::CFDE_TxtEdtPage(CFDE_TxtEdtEngine* pEngine, int32_t nPageIndex) : m_pEditEngine(pEngine), m_pBgnParag(nullptr), |