summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_wordbreak.cpp
diff options
context:
space:
mode:
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();