summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/ctredlin.hxx17
-rw-r--r--svx/source/dialog/ctredlin.cxx26
2 files changed, 0 insertions, 43 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx
index b7726a75763c..a9ee961c2c3b 100644
--- a/include/svx/ctredlin.hxx
+++ b/include/svx/ctredlin.hxx
@@ -58,23 +58,6 @@ public:
void* pData;
};
-/// Class for the representation of Strings depending on the font.
-class SAL_WARN_UNUSED SvLBoxColorString : public SvLBoxString
-{
-public:
- SvLBoxColorString();
- virtual ~SvLBoxColorString() override;
-
- /** Paint function of the SvLBoxColorString class.
-
- The relevant text with the selected color is drawn in the output device.
- */
- virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext,
- const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override;
-
- virtual std::unique_ptr<SvLBoxItem> Clone(SvLBoxItem const * pSource) const override;
-};
-
class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxRedlinTable
{
private:
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(),