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

New commits:
commit 177f8e8bbdc2a554f3f795e4e766c2e184410f81
Author: László Németh <laszlo.nem...@collabora.com>
Date:   Thu Jun 4 18:01:55 2015 +0200

    fix rendercontext rendering of standard toolbar icons
    
    Change-Id: I6e0399c16d3e900fbca56fc757f342ea893d0ad4

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index ccd2029..ad7fb72 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -177,7 +177,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion)
 {
     WindowImpl* pWindowImpl = m_pWindow->ImplGetWindowImpl();
     vcl::Region* pWinChildClipRegion = m_pWindow->ImplGetWinChildClipRegion();
-    if (pWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL)
+    if (pWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL || m_pBuffer)
     {
         pWindowImpl->maInvalidateRegion = *pWinChildClipRegion;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to