diff options
Diffstat (limited to 'vcl')
-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)); |