summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 16:34:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-30 15:14:14 +0200
commitc33e81615c85eb9acd5956973e3bbc27ea068b41 (patch)
treed4061b481a75eab3d9d7140765adf16ebf79e201 /sw/source/uibase
parent105f057f5b994b7d79a55ca719240839c2d45b54 (diff)
loplugin:unusedmethods
Change-Id: I8d3402a69237b665462e04440ad73fe29e2133db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153807 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/config/viewopt.cxx8
-rw-r--r--sw/source/uibase/sidebar/A11yCheckIssuesPanel.hxx1
2 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index b907daf76f9d..93ee5f710653 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -56,7 +56,6 @@ SwViewColors::SwViewColors() :
m_aIndexShadingsColor(COL_LIGHTGRAY),
m_aLinksColor(COL_BLUE),
m_aVisitedLinksColor(COL_RED),
- m_aDirectCursorColor(COL_BLUE),
m_aTextGridColor(COL_LIGHTGRAY),
m_aSpellColor(COL_LIGHTRED),
m_aGrammarColor(COL_LIGHTBLUE),
@@ -112,8 +111,6 @@ SwViewColors::SwViewColors(const svtools::ColorConfig& rConfig)
if(aValue.bIsVisible)
m_nAppearanceFlags |= ViewOptFlags::Shadow;
- m_aDirectCursorColor = rConfig.GetColorValue(svtools::WRITERDIRECTCURSOR).nColor;
-
m_aTextGridColor = rConfig.GetColorValue(svtools::WRITERTEXTGRID).nColor;
m_aSpellColor = rConfig.GetColorValue(svtools::SPELL).nColor;
@@ -492,11 +489,6 @@ const Color& SwViewOption::GetVisitedLinksColor() const
return m_aColorConfig.m_aVisitedLinksColor;
}
-const Color& SwViewOption::GetDirectCursorColor() const
-{
- return m_aColorConfig.m_aDirectCursorColor;
-}
-
const Color& SwViewOption::GetTextGridColor() const
{
return m_aColorConfig.m_aTextGridColor;
diff --git a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.hxx b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.hxx
index 54e5ad560bdf..41e769946b72 100644
--- a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.hxx
+++ b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.hxx
@@ -88,7 +88,6 @@ private:
std::unique_ptr<weld::Box> m_xBoxNumbering;
std::unique_ptr<weld::Box> m_xBoxOther;
sfx::AccessibilityIssueCollection m_aIssueCollection;
- std::function<sfx::AccessibilityIssueCollection()> m_getIssueCollection;
void removeOldWidgets();
void populateIssues();