summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-05-23 18:24:47 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-24 02:14:39 +0200
commit5b42e32dcf0142b8ea3ffcfc2c7bbf9e4325465f (patch)
treef4aea2a9aed8e88a177ccd813e615ac6eb794169 /vcl
parentb0cd381de11340de8e72020f774a64d3ade6bbd9 (diff)
rendercontext: PushPaintHelper needs the buffer as param too.
Change-Id: I4e787356bd17fcaffdbe0dc51a549b359f416766
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/paint.cxx2
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