summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-12-27 12:03:26 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-12-27 14:50:23 +0100
commit33bd6c3e3512bf96376534e116d6f9f60d157be9 (patch)
tree23df7adeda2fa62ab8c38d5165c74c6e05137ceb /vcl
parent63099940c79dd38cfd81bc45affcbf38f85a58fd (diff)
Make line color consitent between CategoryListBox and simple ListBox
Line color is changed in CategoryListBox::UserDraw() method so we need to explicitely specify it here too. Change-Id: Ia3dcbf70e0a53cfba16d5d2df0fc2e4d7e23ad71 Reviewed-on: https://gerrit.libreoffice.org/47083 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/imp_listbox.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 279a1787babb..9470e9a68675 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -1699,6 +1699,7 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32
{
rRenderContext.SetTextColor(!IsEnabled() ? rStyleSettings.GetDisableColor() : rStyleSettings.GetHighlightTextColor());
rRenderContext.SetFillColor(rStyleSettings.GetHighlightColor());
+ rRenderContext.SetLineColor();
rRenderContext.DrawRect(aRect);
}
else