[Libreoffice-commits] core.git: vcl/source

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


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

New commits:
commit 69e9c082f07206a1a589c49f679f92c2162e830d
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 d139318..7f6d17e 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