summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fgas/layout/cfx_breakline.cpp8
-rw-r--r--xfa/fgas/layout/cfx_breakline.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/xfa/fgas/layout/cfx_breakline.cpp b/xfa/fgas/layout/cfx_breakline.cpp
index d3fce06d6f..0788603ad0 100644
--- a/xfa/fgas/layout/cfx_breakline.cpp
+++ b/xfa/fgas/layout/cfx_breakline.cpp
@@ -35,14 +35,6 @@ const CFX_BreakPiece* CFX_BreakLine::GetPiece(int32_t index) const {
return &m_LinePieces[index];
}
-void CFX_BreakLine::GetString(WideString& wsStr) const {
- int32_t iCount = pdfium::CollectionSize<int32_t>(m_LineChars);
- wchar_t* pBuf = wsStr.GetBuffer(iCount);
- for (int32_t i = 0; i < iCount; i++)
- *pBuf++ = static_cast<wchar_t>(m_LineChars[i].char_code());
- wsStr.ReleaseBuffer(iCount);
-}
-
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 8826976517..0b83ee6baa 100644
--- a/xfa/fgas/layout/cfx_breakline.h
+++ b/xfa/fgas/layout/cfx_breakline.h
@@ -24,7 +24,6 @@ class CFX_BreakLine {
int32_t CountPieces() const;
const CFX_BreakPiece* GetPiece(int32_t index) const;
- void GetString(WideString& wsStr) const;
int32_t GetLineEnd() const;
void Clear();