Kaydet (Commit) ab5c4277 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#97375 use Invalidate in all modes

makes the crash/hangs go away

Change-Id: I91a4391190ec7aa0ffa5e41a8c1eb86b4bb9c484
üst 05642b44
...@@ -292,12 +292,7 @@ void ImpEditEngine::UpdateViews( EditView* pCurView ) ...@@ -292,12 +292,7 @@ void ImpEditEngine::UpdateViews( EditView* pCurView )
{ {
// convert to window coordinates .... // convert to window coordinates ....
aClipRect = pView->pImpEditView->GetWindowPos( aClipRect ); aClipRect = pView->pImpEditView->GetWindowPos( aClipRect );
pView->GetWindow()->Invalidate( aClipRect );
// For tiled rendering, we have to always go via Invalidate().
if ( pView == pCurView && !comphelper::LibreOfficeKit::isActive())
Paint( pView->pImpEditView, aClipRect, nullptr, true );
else
pView->GetWindow()->Invalidate( aClipRect );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment