summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/layout')
-rw-r--r--xfa/fgas/layout/cfx_breakline.cpp10
-rw-r--r--xfa/fgas/layout/cfx_breakline.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/xfa/fgas/layout/cfx_breakline.cpp b/xfa/fgas/layout/cfx_breakline.cpp
index 1a8ae45247..82e12d8965 100644
--- a/xfa/fgas/layout/cfx_breakline.cpp
+++ b/xfa/fgas/layout/cfx_breakline.cpp
@@ -17,16 +17,6 @@ CFX_Char* CFX_BreakLine::GetChar(int32_t index) {
return &m_LineChars[index];
}
-const CFX_Char* CFX_BreakLine::GetChar(int32_t index) const {
- ASSERT(pdfium::IndexInBounds(m_LineChars, index));
- return &m_LineChars[index];
-}
-
-const CFX_BreakPiece* CFX_BreakLine::GetPiece(int32_t index) const {
- ASSERT(index >= 0 && index < pdfium::CollectionSize<int32_t>(m_LinePieces));
- return &m_LinePieces[index];
-}
-
int32_t CFX_BreakLine::GetLineEnd() const {
return m_iStart + m_iWidth;
}
diff --git a/xfa/fgas/layout/cfx_breakline.h b/xfa/fgas/layout/cfx_breakline.h
index ad5ac2d103..feed4b7edb 100644
--- a/xfa/fgas/layout/cfx_breakline.h
+++ b/xfa/fgas/layout/cfx_breakline.h
@@ -18,9 +18,6 @@ class CFX_BreakLine {
~CFX_BreakLine();
CFX_Char* GetChar(int32_t index);
- const CFX_Char* GetChar(int32_t index) const;
- const CFX_BreakPiece* GetPiece(int32_t index) const;
-
int32_t GetLineEnd() const;
void Clear();