| Index: xfa/fde/tto/fde_textout.cpp
|
| diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp
|
| index b0c4bdd234c804443fe5f198e94ba46255e60b8f..a29a42021632e41953457b16129922ce2b529017 100644
|
| --- a/xfa/fde/tto/fde_textout.cpp
|
| +++ b/xfa/fde/tto/fde_textout.cpp
|
| @@ -51,7 +51,7 @@ CFDE_TextOut::~CFDE_TextOut() {
|
| FX_Free(m_pCharWidths);
|
| FX_Free(m_pEllCharWidths);
|
| FX_Free(m_pCharPos);
|
| - m_ttoLines.RemoveAll();
|
| + m_ttoLines.RemoveAll(FALSE);
|
| }
|
| void CFDE_TextOut::SetFont(CFGAS_GEFont* pFont) {
|
| ASSERT(pFont);
|
| @@ -907,7 +907,7 @@ CFDE_TTOLine::CFDE_TTOLine()
|
| CFDE_TTOLine::CFDE_TTOLine(const CFDE_TTOLine& ttoLine) : m_pieces(5) {
|
| m_bNewReload = ttoLine.m_bNewReload;
|
| m_iPieceCount = ttoLine.m_iPieceCount;
|
| - m_pieces.Copy(ttoLine.m_pieces);
|
| + m_pieces.Copy(ttoLine.m_pieces, 0, -1);
|
| }
|
|
|
| CFDE_TTOLine::~CFDE_TTOLine() {}
|
|
|