[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/source

László Németh laszlo.nemeth at collabora.com
Thu Jun 4 13:07:34 PDT 2015


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

New commits:
commit 907f01dc76fe822dd61fcf1463e095a30752db98
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Thu Jun 4 18:01:55 2015 +0200

    fix rendercontext rendering of standard toolbar icons
    
    (cherry-picked from 177f8e8bbdc2a554f3f795e4e766c2e184410f81)
    
    Change-Id: I6e0399c16d3e900fbca56fc757f342ea893d0ad4
    Reviewed-on: https://gerrit.libreoffice.org/16087
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 8e538da..743b3b8 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;
     }


More information about the Libreoffice-commits mailing list