diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-26 15:04:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-26 20:50:47 +0200 |
commit | 94223ae823a2e3e81da5ab0dc827c33f3a23882c (patch) | |
tree | ec252ed2442773853c4ff34012711509b3661360 /svx/source/dialog | |
parent | ebd37bcc22d0c70cc1e4fdd8e4f3d2f8fc256cd8 (diff) |
drop unused SvLBoxColorString class
Change-Id: Id78deffe002444656588fee4252a7059989d184b
Reviewed-on: https://gerrit.libreoffice.org/79631
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
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<SvLBoxItem> SvLBoxColorString::Clone(SvLBoxItem const *) const -{ - return std::unique_ptr<SvLBoxItem>(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<weld::TreeView> xWriterControl, std::unique_ptr<weld::TreeView> xCalcControl) : xSorter(new comphelper::string::NaturalStringSorter(::comphelper::getProcessComponentContext(), |