summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_chariter.h
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_chariter.h
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_chariter.h')
-rw-r--r--core/fxcrt/cfx_chariter.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/core/fxcrt/cfx_chariter.h b/core/fxcrt/cfx_chariter.h
deleted file mode 100644
index 523ea5a75b..0000000000
--- a/core/fxcrt/cfx_chariter.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef CORE_FXCRT_CFX_CHARITER_H_
-#define CORE_FXCRT_CFX_CHARITER_H_
-
-#include <memory>
-
-#include "core/fxcrt/fx_string.h"
-#include "core/fxcrt/fx_system.h"
-#include "core/fxcrt/ifx_chariter.h"
-
-class CFX_CharIter : public IFX_CharIter {
- public:
- explicit CFX_CharIter(const CFX_WideString& wsText);
- ~CFX_CharIter() override;
-
- bool Next(bool bPrev = false) override;
- wchar_t GetChar() const override;
- void SetAt(int32_t nIndex) override;
- int32_t GetAt() const override;
- bool IsEOF(bool bTail = true) const override;
- std::unique_ptr<IFX_CharIter> Clone() const override;
-
- private:
- const CFX_WideString& m_wsText;
- int32_t m_nIndex;
-};
-
-#endif // CORE_FXCRT_CFX_CHARITER_H_