From 0e3a4ffcd73dab2a7d5534b7b97cb5e0a0a2edf9 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 5 Sep 2017 11:59:28 -0400 Subject: 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 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- core/fxcrt/cfx_wordbreak.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'core/fxcrt/cfx_wordbreak.cpp') 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 -#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(wsText); -} - bool CFX_WordBreak::Next(bool bPrev) { std::unique_ptr pIter = (bPrev ? m_pPreIter : m_pCurIter)->Clone(); -- cgit v1.2.3