diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 11:50:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 11:52:41 +0000 |
commit | c3f09ae629b349c52a4a7954e3017ceb8d7afeaf (patch) | |
tree | d1a424761a621a48a007b09049c95c31465148aa | |
parent | 51fd7649432aeb7a6cb5cbf3cec1e94b08412248 (diff) |
Resolves: tdf#97375 use Invalidate in all modes
makes the crash/hangs go away
(cherry picked from commit ab5c427784fb72d52042b8122ffc5a0fd7108c6b)
Change-Id: I91a4391190ec7aa0ffa5e41a8c1eb86b4bb9c484
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 5b3498e07985..91c936147f2a 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -291,12 +291,7 @@ void ImpEditEngine::UpdateViews( EditView* pCurView ) { // convert to window coordinates .... aClipRect = pView->pImpEditView->GetWindowPos( aClipRect ); - - // For tiled rendering, we have to always go via Invalidate(). - if ( pView == pCurView && !pView->isTiledRendering()) - Paint( pView->pImpEditView, aClipRect, nullptr, true ); - else - pView->GetWindow()->Invalidate( aClipRect ); + pView->GetWindow()->Invalidate( aClipRect ); } } |