From b011e696f26618256ac65d0ea492553ee0a9cdd6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 16 Aug 2020 11:18:39 +0200 Subject: loplugin:virtualdead Change-Id: Ic002692801113de5778826db5e3faf9869a48307 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100816 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/treelist/iconview.cxx | 2 -- vcl/source/treelist/treelistbox.cxx | 5 ----- 2 files changed, 7 deletions(-) (limited to 'vcl') 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(rRenderContext, rRect, rEntry)); -- cgit