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:51:35 +0000 |
commit | ab5c427784fb72d52042b8122ffc5a0fd7108c6b (patch) | |
tree | 59b878f9281b5928d7913878ee73e19378e81667 /editeng | |
parent | 05642b446c39c1551d2d703be18158c7ae0f0c36 (diff) |
Resolves: tdf#97375 use Invalidate in all modes
makes the crash/hangs go away
Change-Id: I91a4391190ec7aa0ffa5e41a8c1eb86b4bb9c484
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 d6b668c3b266..9b1edb499e10 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -292,12 +292,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 && !comphelper::LibreOfficeKit::isActive()) - Paint( pView->pImpEditView, aClipRect, nullptr, true ); - else - pView->GetWindow()->Invalidate( aClipRect ); + pView->GetWindow()->Invalidate( aClipRect ); } } |