From 34965459f4f53a77f6c925292304eface57d12c6 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 18 Jul 2016 13:14:49 -0700 Subject: Cleanup fgas/crt. This CL removes unused methods and default parameters from the fgas/crt code. Review-Url: https://codereview.chromium.org/2162503003 --- xfa/fde/tto/fde_textout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fde/tto/fde_textout.cpp') diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp index b0c4bdd234..a29a420216 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() {} -- cgit v1.2.3