diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-08 21:26:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-10 07:59:29 +0100 |
commit | 7e19677fe93389a25b7a4dbf5ca31c6473cde5c3 (patch) | |
tree | 163e0779d24aa964ab801c316e3344e15fc89cc4 /sc | |
parent | ea60d4d2fac9fff5399d8b31bcd8d46752e5aa62 (diff) |
loplugin:unusedfields
Change-Id: I03e8814407fd8e345cb07ac433db4230b4d96e10
Reviewed-on: https://gerrit.libreoffice.org/64822
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/tabbgcolordlg.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/tabbgcolordlg.cxx | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/inc/tabbgcolordlg.hxx b/sc/source/ui/inc/tabbgcolordlg.hxx index f5c2d330f344..4b23e3cccba2 100644 --- a/sc/source/ui/inc/tabbgcolordlg.hxx +++ b/sc/source/ui/inc/tabbgcolordlg.hxx @@ -53,7 +53,6 @@ public: private: PaletteManager m_aPaletteManager; Color m_aTabBgColor; - const OUString m_aTabBgColorNoColorText; std::unique_ptr<weld::ComboBox> m_xSelectPalette; std::unique_ptr<ScTabBgColorValueSet> m_xTabBgColorSet; diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx index f9c0eb0ce502..c4dc406b0bf9 100644 --- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx +++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx @@ -38,7 +38,6 @@ ScTabBgColorDlg::ScTabBgColorDlg(weld::Window* pParent, const OUString& rTitle, const OUString& rTabBgColorNoColorText, const Color& rDefaultColor) : GenericDialogController(pParent, "modules/scalc/ui/tabcolordialog.ui", "TabColorDialog") , m_aTabBgColor(rDefaultColor) - , m_aTabBgColorNoColorText(rTabBgColorNoColorText) , m_xSelectPalette(m_xBuilder->weld_combo_box("paletteselector")) , m_xTabBgColorSet(new ScTabBgColorValueSet(m_xBuilder->weld_scrolled_window("colorsetwin"))) , m_xTabBgColorSetWin(new weld::CustomWeld(*m_xBuilder, "colorset", *m_xTabBgColorSet)) @@ -51,7 +50,7 @@ ScTabBgColorDlg::ScTabBgColorDlg(weld::Window* pParent, const OUString& rTitle, const WinBits nBits(m_xTabBgColorSet->GetStyle() | WB_NAMEFIELD | WB_ITEMBORDER | WB_NONEFIELD | WB_3DLOOK | WB_NO_DIRECTSELECT | WB_NOPOINTERFOCUS); m_xTabBgColorSet->SetStyle(nBits); - m_xTabBgColorSet->SetText(m_aTabBgColorNoColorText); + m_xTabBgColorSet->SetText(rTabBgColorNoColorText); const sal_uInt32 nColCount = SvxColorValueSet::getColumnCount(); const sal_uInt32 nRowCount(10); |