vcl/source/window/paint.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 47636da7327574bdfdcf790c1138ba6de043cd95
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Sat May 23 18:24:47 2015 +0200

    rendercontext: PushPaintHelper needs the buffer as param too.
    
    Change-Id: I4e787356bd17fcaffdbe0dc51a549b359f416766

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 8fe3819..c09c495 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -229,7 +229,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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to