diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-07 08:09:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 09:16:00 +0000 |
commit | 359e0b47a0f96ffa595a0c38a5e5318d797812fe (patch) | |
tree | 3695eb961668945dda469fc659337cbdd8c89520 /vcl/source/control | |
parent | cc84aaf70ac56092b32d1d329143eca0550dce12 (diff) |
loplugin:unuseddefaultparams
Change-Id: Ia414f7845425ef73859ed04853378e96cc738795
Reviewed-on: https://gerrit.libreoffice.org/22971
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/imp_listbox.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx index b9ecd36cba21..d8fe4dd84886 100644 --- a/vcl/source/control/imp_listbox.cxx +++ b/vcl/source/control/imp_listbox.cxx @@ -1696,7 +1696,7 @@ void ImplListBoxWindow::SelectEntry( vcl::StringEntryIdentifier _entry ) } } -void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32 nPos, bool bErase) +void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32 nPos) { const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings(); @@ -1721,8 +1721,6 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32 if (!IsEnabled()) rRenderContext.SetTextColor(rStyleSettings.GetDisableColor()); rRenderContext.SetTextFillColor(); - if (bErase) - rRenderContext.Erase(aRect); } if (IsUserDrawEnabled()) |