summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-06 14:23:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-06 14:23:14 -0700
commit2e9cd3ae5f8a0bb01bcf3446f52becdddc6229e1 (patch)
tree99b5d826278908f4513997dea28da879f4ab1af9 /xfa
parent6f4f2335cfd22d26db154fbd51ab553fb9902918 (diff)
downloadpdfium-2e9cd3ae5f8a0bb01bcf3446f52becdddc6229e1.tar.xz
Remove unused CFDE_TxtEdtEngine::SetBufChunkSize().
In turn, CFDE_TxtEdtBuf::SetChunkSize becomes unused. Review-Url: https://codereview.chromium.org/2042743003
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fde/cfde_txtedtbuf.cpp6
-rw-r--r--xfa/fde/cfde_txtedtbuf.h1
-rw-r--r--xfa/fde/cfde_txtedtengine.cpp4
-rw-r--r--xfa/fde/cfde_txtedtengine.h1
4 files changed, 0 insertions, 12 deletions
diff --git a/xfa/fde/cfde_txtedtbuf.cpp b/xfa/fde/cfde_txtedtbuf.cpp
index 2f747a30cc..81b586f075 100644
--- a/xfa/fde/cfde_txtedtbuf.cpp
+++ b/xfa/fde/cfde_txtedtbuf.cpp
@@ -30,12 +30,6 @@ CFDE_TxtEdtBuf::~CFDE_TxtEdtBuf() {
m_Chunks.RemoveAll();
}
-FX_BOOL CFDE_TxtEdtBuf::SetChunkSize(int32_t nChunkSize) {
- ASSERT(nChunkSize);
- ResetChunkBuffer(kDefaultChunkCount, nChunkSize);
- return TRUE;
-}
-
int32_t CFDE_TxtEdtBuf::GetChunkSize() const {
return m_nChunkSize;
}
diff --git a/xfa/fde/cfde_txtedtbuf.h b/xfa/fde/cfde_txtedtbuf.h
index 1d8e48e338..e871ed9aed 100644
--- a/xfa/fde/cfde_txtedtbuf.h
+++ b/xfa/fde/cfde_txtedtbuf.h
@@ -18,7 +18,6 @@ class CFDE_TxtEdtBuf {
CFDE_TxtEdtBuf();
~CFDE_TxtEdtBuf();
- FX_BOOL SetChunkSize(int32_t nChunkSize);
int32_t GetChunkSize() const;
int32_t GetTextLength() const;
void SetText(const CFX_WideString& wsText);
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp
index 4bdf8df1c0..4a9aaa6eff 100644
--- a/xfa/fde/cfde_txtedtengine.cpp
+++ b/xfa/fde/cfde_txtedtengine.cpp
@@ -83,10 +83,6 @@ IFDE_TxtEdtPage* CFDE_TxtEdtEngine::GetPage(int32_t nIndex) {
return (IFDE_TxtEdtPage*)m_PagePtrArray[nIndex];
}
-FX_BOOL CFDE_TxtEdtEngine::SetBufChunkSize(int32_t nChunkSize) {
- return m_pTxtBuf->SetChunkSize(nChunkSize);
-}
-
void CFDE_TxtEdtEngine::SetTextByStream(IFX_Stream* pStream) {
ResetEngine();
int32_t nIndex = 0;
diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h
index 15d0f0cc77..1ce1ce30ec 100644
--- a/xfa/fde/cfde_txtedtengine.h
+++ b/xfa/fde/cfde_txtedtengine.h
@@ -26,7 +26,6 @@ class CFDE_TxtEdtEngine {
int32_t CountPages() const;
IFDE_TxtEdtPage* GetPage(int32_t nIndex);
- FX_BOOL SetBufChunkSize(int32_t nChunkSize);
void SetTextByStream(IFX_Stream* pStream);
void SetText(const CFX_WideString& wsText);
int32_t GetTextLength() const;