diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-16 11:18:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-16 13:48:20 +0200 |
commit | b011e696f26618256ac65d0ea492553ee0a9cdd6 (patch) | |
tree | 74a04981256d43a0823556d9dc8115f6b2164a34 /vcl/source | |
parent | ab346881058f947282ad98f11fb4338f8e790148 (diff) |
loplugin:virtualdead
Change-Id: Ic002692801113de5778826db5e3faf9869a48307
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100816
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/treelist/iconview.cxx | 2 | ||||
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/treelist/iconview.cxx b/vcl/source/treelist/iconview.cxx index 9e0ab737b2c3..5041500bc89c 100644 --- a/vcl/source/treelist/iconview.cxx +++ b/vcl/source/treelist/iconview.cxx @@ -79,8 +79,6 @@ void IconView::PaintEntry(SvTreeListEntry& rEntry, long nX, long nY, tools::Rectangle aRect; // multi purpose - PreparePaint(rRenderContext, rEntry); - pImpl->UpdateContextBmpWidthMax(&rEntry); short nTempEntryHeight = GetEntryHeight(); diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 74be3d890402..f1ac3f23f01f 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -2558,7 +2558,6 @@ void SvTreeListBox::PaintEntry1(SvTreeListEntry& rEntry, long nLine, vcl::Render tools::Rectangle aRect; // multi purpose bool bHorSBar = pImpl->HasHorScrollBar(); - PreparePaint(rRenderContext, rEntry); pImpl->UpdateContextBmpWidthMax(&rEntry); @@ -2846,10 +2845,6 @@ void SvTreeListBox::PaintEntry1(SvTreeListEntry& rEntry, long nLine, vcl::Render } } -void SvTreeListBox::PreparePaint(vcl::RenderContext& /*rRenderContext*/, SvTreeListEntry& /*rEntry*/) -{ -} - void SvTreeListBox::DrawCustomEntry(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect, const SvTreeListEntry& rEntry) { aCustomRenderHdl.Call(std::tuple<vcl::RenderContext&, const tools::Rectangle&, const SvTreeListEntry&>(rRenderContext, rRect, rEntry)); |