diff options
-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 |