Kaydet (Commit) 2b26c179 authored tarafından Miklos Vajna's avatar Miklos Vajna

tdf#92577 sw rendercontext: paint transparent from controls conditionally

Regression from commit beb4aa21
(SwViewShell::ImplEndAction: avoid direct paint, 2015-06-29), the
problem was that the lcl_PaintTransparentFormControls() call performs
direct paint, so it should be called only in case we don't do an async
paint via invalidate.

As expected, this call is no longer needed for the original i#107365
bug document in case SwViewShell::Paint() will be called by the main
loop shortly.

Change-Id: Ia27c551ed838d610f972f20abbb4ae9f0e1241b6
üst 6a01844a
......@@ -407,8 +407,8 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd )
{
InvalidateWindows(aRect.SVRect());
}
lcl_PaintTransparentFormControls(*this, aRect); // i#107365
else
lcl_PaintTransparentFormControls(*this, aRect); // i#107365
}
pVout.disposeAndClear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment