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

Jan Holesovsky kendy at collabora.com
Fri Jun 19 09:15:15 PDT 2015


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

New commits:
commit 6002026cdc792b425e8064dbfdaf65040ade7249
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Jun 19 18:13:56 2015 +0200

    rendercontext: Fix painting of double-buffered listbox.
    
    Everything after the selected entry was invisible ;-)
    
    Change-Id: I06ee1ac424293e71eaa0654b38a5e74e4462d185

diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 3259a77..c6c82b2 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1714,7 +1714,7 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32
         }
         else
         {
-            ApplySettings(*this);
+            ApplySettings(rRenderContext);
             if (!IsEnabled())
                 rRenderContext.SetTextColor(rStyleSettings.GetDisableColor());
             rRenderContext.SetTextFillColor();


More information about the Libreoffice-commits mailing list