summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-06-20 11:58:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-20 14:03:21 +0200
commit86a827da7c71305be81624d25220d125ef00137a (patch)
tree344b645598a73375e0c27ceb506d0894fa72f54b /sd/source/ui
parent50f3443d59d457da8dd19e0520f317851f050469 (diff)
loplugin:unusedfields
Change-Id: I4bc67811e228b4806db9f9b9bf9fb0de0eb36de2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169263 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/inc/NotesPanelView.hxx5
-rw-r--r--sd/source/ui/view/NotesPanelView.cxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/inc/NotesPanelView.hxx b/sd/source/ui/inc/NotesPanelView.hxx
index c9e185b321ba..d6763b855a2c 100644
--- a/sd/source/ui/inc/NotesPanelView.hxx
+++ b/sd/source/ui/inc/NotesPanelView.hxx
@@ -41,11 +41,6 @@ class NotesPanelView final : public ::sd::SimpleOutlinerView
bool mbIgnoreNotifications = false;
bool mbInFocus = false;
- /** stores the last used document color.
- this is changed in onUpdateStyleSettings()
- */
- Color maDocColor = COL_WHITE;
-
void removeListener();
void addListener();
diff --git a/sd/source/ui/view/NotesPanelView.cxx b/sd/source/ui/view/NotesPanelView.cxx
index f95284c25ade..45d29748504e 100644
--- a/sd/source/ui/view/NotesPanelView.cxx
+++ b/sd/source/ui/view/NotesPanelView.cxx
@@ -188,7 +188,6 @@ void NotesPanelView::onUpdateStyleSettings()
pWindow->SetBackground(Wallpaper(aDocColor));
maOutliner.SetBackgroundColor(aDocColor);
- maDocColor = aDocColor;
}
void NotesPanelView::onResize()