diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-06-04 18:01:55 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-04 20:07:07 +0000 |
commit | 907f01dc76fe822dd61fcf1463e095a30752db98 (patch) | |
tree | 0f63f5193f85af7a3495ea3014c224886b41b6f5 | |
parent | 7aeeef6902ee2be4934341072829a6f15a14f3fb (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 8e538dac6899..743b3b80de35 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; } |