diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-15 10:33:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-16 13:18:32 +0100 |
commit | 548ed2c3322bd4455d3def980d227c50dbbf1f58 (patch) | |
tree | 80fecfe06932ef911bc76f70bec6b2ca895d7026 /sw | |
parent | 6263bcfd70bf76dbcdf6b7e35bb02e48e44cbd94 (diff) |
SwViewShell::InvalidateWindows: when tiled rendering, ignore visual area
Change-Id: I9b40a32e08f4472b75a236e2720ecbe5927117fb
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index ac49e5e6c5f6..ba2402c5fd3b 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -543,7 +543,9 @@ void SwViewShell::InvalidateWindows( const SwRect &rRect ) { if ( rSh.IsPreview() ) ::RepaintPagePreview( &rSh, rRect ); - else if ( rSh.VisArea().IsOver( rRect ) ) + // In case of tiled rendering, invalidation is wanted even if + // the rectangle is outside the visual area. + else if ( rSh.VisArea().IsOver( rRect ) || rSh.isTiledRendering() ) rSh.GetWin()->Invalidate( rRect.SVRect() ); } } |