summaryrefslogtreecommitdiffstats
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/layact.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index b2b246e5eb2f..9375ca13cd51 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2275,16 +2275,7 @@ SwLayIdle::SwLayIdle( SwRootFrame *pRt, SwViewShellImp *pI ) :
{
--rSh.mnStartAction;
- // When using tiled rendering, idle painting is disabled and paints are done
- // only later by tiled rendering. But paints call SwViewShellImp::DeletePaintRegion()
- // to reset this HasPaintRegion(), and if it's done too late,
- // SwTiledRenderingTest::testTablePaintInvalidate() will end up in an infinite
- // loop, because the idle layout will call this code repeatedly, because there
- // will be no idle paints to reset HasPaintRegion().
- // This code dates back to the initial commit, and I find its purpose unclear,
- // so I'm still leaving it here in case it turns out it serves a purpose.
- static const bool blockOnRepaints = true;
- if (!blockOnRepaints && rSh.Imp()->HasPaintRegion())
+ if ( rSh.Imp()->HasPaintRegion() )
bActions = true;
else
{