diff options
Diffstat (limited to 'xfa/fgas/layout/cfx_breakline.cpp')
-rw-r--r-- | xfa/fgas/layout/cfx_breakline.cpp | 8 |
1 files changed, 0 insertions, 8 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; } |