diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 11:50:51 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-02-04 15:21:09 +0100 |
commit | accac7fc32b965d88ea884c65463f1e4ccda68e4 (patch) | |
tree | ebd6e6a6395a42e57e4b4b0f9bcb7a132f597f47 /editeng | |
parent | f0497af409a51f0949a0b19082923ba5f9ad6d82 (diff) |
Resolves: tdf#97375 use Invalidate in all modes
makes the crash/hangs go away
(cherry picked from commit ab5c427784fb72d52042b8122ffc5a0fd7108c6b)
(cherry picked from commit c3f09ae629b349c52a4a7954e3017ceb8d7afeaf)
Change-Id: I91a4391190ec7aa0ffa5e41a8c1eb86b4bb9c484
Reviewed-on: https://gerrit.libreoffice.org/22026
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 1b49e14c82af691fe1ec5aa5de8392350bce11a1)
Diffstat (limited to 'editeng')
-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 0f3870913e96..a0d2421389a2 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -289,12 +289,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, 0, true ); - else - pView->GetWindow()->Invalidate( aClipRect ); + pView->GetWindow()->Invalidate( aClipRect ); } } |