summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-06-19 18:13:56 +0200
committerJan Holesovsky <kendy@collabora.com>2015-06-19 18:15:33 +0200
commit69e9c082f07206a1a589c49f679f92c2162e830d (patch)
treec790de1939bc814a97804b2f6b2ec00d355cbbdc
parent1cc396069b7170c12716dbfbbab149701dd2b540 (diff)
rendercontext: Fix painting of double-buffered listbox.
Everything after the selected entry was invisible ;-) Change-Id: I06ee1ac424293e71eaa0654b38a5e74e4462d185
-rw-r--r--vcl/source/control/ilstbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index d13931877b44..7f6d17e2c3db 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();