From c2bf27fff9e2316b9daee92266e70eac3ef5979b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 4 May 2017 16:54:35 -0400 Subject: More unused IFX_Pause parameters removed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove IFX_Pause parameters which are passed but not used. Change-Id: I51a491c7f9a429676d114a387390fac3ae65e187 Reviewed-on: https://pdfium-review.googlesource.com/4950 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- core/fxge/dib/cstretchengine.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/fxge/dib/cstretchengine.cpp') diff --git a/core/fxge/dib/cstretchengine.cpp b/core/fxge/dib/cstretchengine.cpp index 0025331486..9fdaa02f95 100644 --- a/core/fxge/dib/cstretchengine.cpp +++ b/core/fxge/dib/cstretchengine.cpp @@ -357,9 +357,9 @@ CStretchEngine::~CStretchEngine() { bool CStretchEngine::Continue(IFX_Pause* pPause) { while (m_State == 1) { - if (ContinueStretchHorz(pPause)) { + if (ContinueStretchHorz(pPause)) return true; - } + m_State = 2; StretchVert(); } @@ -401,7 +401,6 @@ bool CStretchEngine::StartStretchHorz() { bool CStretchEngine::ContinueStretchHorz(IFX_Pause* pPause) { if (!m_DestWidth) return false; - if (m_pSource->SkipToScanline(m_CurRow, pPause)) return true; -- cgit v1.2.3