Kaydet (Commit) a3811021 authored tarafından Noel Grandin's avatar Noel Grandin

Revert "small optimisation in paint"

This reverts commit 7e9bdfe6.

Seems to be causing problems for people using 'ssh -X'.
I suspect that it has something to do with PaintHelper's destructor.
üst 831492f3
......@@ -601,11 +601,10 @@ void Window::ImplCallPaint(const vcl::Region* pRegion, sal_uInt16 nPaintFlags)
nPaintFlags = mpWindowImpl->mnPaintFlags & ~(IMPL_PAINT_PAINT);
PaintHelper aHelper(this, nPaintFlags);
if (mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINT)
{
PaintHelper aHelper(this, nPaintFlags);
aHelper.DoPaint(pRegion);
}
else
mpWindowImpl->mnPaintFlags = 0;
}
......
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