From 94223ae823a2e3e81da5ab0dc827c33f3a23882c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 26 Sep 2019 15:04:29 +0100 Subject: drop unused SvLBoxColorString class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id78deffe002444656588fee4252a7059989d184b Reviewed-on: https://gerrit.libreoffice.org/79631 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/dialog/ctredlin.cxx | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 1c51696b570a..67e84c7e8b9d 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -47,32 +47,6 @@ RedlinData::~RedlinData() { } -SvLBoxColorString::SvLBoxColorString() -: SvLBoxString() -{ -} - -SvLBoxColorString::~SvLBoxColorString() -{ -} - -std::unique_ptr SvLBoxColorString::Clone(SvLBoxItem const *) const -{ - return std::unique_ptr(new SvLBoxColorString); -} - -void SvLBoxColorString::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, - const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) -{ - Color aColor = rRenderContext.GetTextColor(); - if (!pView->IsSelected()) - { - rRenderContext.SetTextColor(Color()); - } - SvLBoxString::Paint(rPos, rDev, rRenderContext, pView, rEntry); - rRenderContext.SetTextColor(aColor); -} - SvxRedlinTable::SvxRedlinTable(std::unique_ptr xWriterControl, std::unique_ptr xCalcControl) : xSorter(new comphelper::string::NaturalStringSorter(::comphelper::getProcessComponentContext(), -- cgit