summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_wordbreak.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-05 11:59:28 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-05 16:40:57 +0000
commit0e3a4ffcd73dab2a7d5534b7b97cb5e0a0a2edf9 (patch)
tree8a59fa80f990dd7be5e8942f2d0df3a7512762dc /core/fxcrt/cfx_wordbreak.cpp
parent2bf05a6ca144e78223795ae1716875d3c9b8acb1 (diff)
downloadpdfium-0e3a4ffcd73dab2a7d5534b7b97cb5e0a0a2edf9.tar.xz
Remove unused CFX_CharIter class
The CFX_CharIter class was only used in a single Attach call of CFX_WordBreak which is never called. Removed. Change-Id: I8262cbb25d341b976ab85095250357fecba48fbc Reviewed-on: https://pdfium-review.googlesource.com/13091 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_wordbreak.cpp')
-rw-r--r--core/fxcrt/cfx_wordbreak.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fxcrt/cfx_wordbreak.cpp b/core/fxcrt/cfx_wordbreak.cpp
index 2a31181403..975dd113c1 100644
--- a/core/fxcrt/cfx_wordbreak.cpp
+++ b/core/fxcrt/cfx_wordbreak.cpp
@@ -8,7 +8,7 @@
#include <utility>
-#include "core/fxcrt/cfx_chariter.h"
+#include "core/fxcrt/ifx_chariter.h"
#include "third_party/base/ptr_util.h"
namespace {
@@ -2788,10 +2788,6 @@ void CFX_WordBreak::Attach(IFX_CharIter* pIter) {
m_pCurIter.reset(pIter);
}
-void CFX_WordBreak::Attach(const CFX_WideString& wsText) {
- m_pCurIter = pdfium::MakeUnique<CFX_CharIter>(wsText);
-}
-
bool CFX_WordBreak::Next(bool bPrev) {
std::unique_ptr<IFX_CharIter> pIter =
(bPrev ? m_pPreIter : m_pCurIter)->Clone();