diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-05-23 18:24:47 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-24 02:14:39 +0200 |
commit | 5b42e32dcf0142b8ea3ffcfc2c7bbf9e4325465f (patch) | |
tree | f4aea2a9aed8e88a177ccd813e615ac6eb794169 | |
parent | b0cd381de11340de8e72020f774a64d3ade6bbd9 (diff) |
rendercontext: PushPaintHelper needs the buffer as param too.
Change-Id: I4e787356bd17fcaffdbe0dc51a549b359f416766
-rw-r--r-- | vcl/source/window/paint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index e220a37ecf70..97767210442a 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -227,7 +227,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion) m_pBuffer->mnOutOffX = m_pWindow->GetOutOffXPixel() - m_pBuffer->mnOutOffX; m_pBuffer->mnOutOffY = m_pWindow->GetOutOffYPixel() - m_pBuffer->mnOutOffY; - m_pWindow->PushPaintHelper(this, *m_pWindow); + m_pWindow->PushPaintHelper(this, *m_pBuffer.get()); m_pWindow->Paint(*m_pBuffer.get(), m_aPaintRect); // restore the mnOutOffX/Y value |