diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-21 10:59:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-22 05:39:20 +0100 |
commit | c91ec113a24ecc2bf883b1620f4e900f713dc996 (patch) | |
tree | 7419467ab3b34b77abb956fc1d8afe5d2595d154 /sfx2 | |
parent | 2e7f77d3fe01e36222d5ad84c18d7d7537092972 (diff) |
loplugin:unusedfields
Change-Id: I4a7276ffc36b4f954fe1fa39fb5666fa184e66e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143016
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/autoredactdialog.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/mgetempl.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/versdlg.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/autoredactdialog.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/versdlg.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 6 |
9 files changed, 0 insertions, 21 deletions
diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx index 28c2c561f60d..540494c932ea 100644 --- a/sfx2/inc/autoredactdialog.hxx +++ b/sfx2/inc/autoredactdialog.hxx @@ -102,7 +102,6 @@ class SfxAutoRedactDialog final : public SfxDialogController bool m_bIsValidState; bool m_bTargetsCopied; - std::unique_ptr<weld::Label> m_xRedactionTargetsLabel; std::unique_ptr<TargetsTable> m_xTargetsBox; std::unique_ptr<weld::Button> m_xLoadBtn; std::unique_ptr<weld::Button> m_xSaveBtn; diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 3b683b743bfd..624caf17f8fd 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -65,7 +65,6 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(weld::Container* pPage, weld::D , m_xFilterFt(m_xBuilder->weld_label("categoryft")) , m_xFilterLb(m_xBuilder->weld_combo_box("category")) , m_xDescFt(m_xBuilder->weld_label("desc")) - , m_xNameFt(m_xBuilder->weld_label("nameft")) { m_xFollowLb->make_sorted(); // tdf#120188 like SwCharURLPage limit the width of the style combos diff --git a/sfx2/source/dialog/mgetempl.hxx b/sfx2/source/dialog/mgetempl.hxx index ef0d2fdcdd23..7bc67cec3c7e 100644 --- a/sfx2/source/dialog/mgetempl.hxx +++ b/sfx2/source/dialog/mgetempl.hxx @@ -61,7 +61,6 @@ class SfxManageStyleSheetPage final : public SfxTabPage std::unique_ptr<weld::Label> m_xFilterFt; std::unique_ptr<weld::ComboBox> m_xFilterLb; std::unique_ptr<weld::Label> m_xDescFt; - std::unique_ptr<weld::Label> m_xNameFt; friend class SfxStyleDialogController; diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index fb9f8c1a0bc1..a0cc25da07c4 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -172,7 +172,6 @@ void SfxCommonTemplateDialog_Impl::connect_stylelist_set_water_can_state( SfxCommonTemplateDialog_Impl::SfxCommonTemplateDialog_Impl(SfxBindings* pB, weld::Container* pC, weld::Builder* pBuilder) : pBindings(pB) - , mpContainer(pC) , xModuleManager(frame::ModuleManager::create(::comphelper::getProcessComponentContext())) , m_pDeletionWatcher(nullptr) , m_aStyleList(pBuilder, pB, this, pC, "treeview", "flatview") diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index 47f33b63430c..f4122906d91d 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -428,10 +428,6 @@ IMPL_LINK(SfxViewVersionDialog_Impl, ButtonHdl, weld::Button&, rButton, void) SfxCmisVersionsDialog::SfxCmisVersionsDialog(weld::Window* pParent, SfxViewFrame* pVwFrame) : SfxDialogController(pParent, "sfx/ui/versionscmis.ui", "VersionsCmisDialog") , m_pViewFrame(pVwFrame) - , m_xOpenButton(m_xBuilder->weld_button("open")) - , m_xViewButton(m_xBuilder->weld_button("show")) - , m_xDeleteButton(m_xBuilder->weld_button("delete")) - , m_xCompareButton(m_xBuilder->weld_button("compare")) , m_xVersionBox(m_xBuilder->weld_tree_view("versions")) { m_xVersionBox->set_size_request(m_xVersionBox->get_approximate_digit_width() * 90, diff --git a/sfx2/source/doc/autoredactdialog.cxx b/sfx2/source/doc/autoredactdialog.cxx index 6509f8c47360..4831ac46d74f 100644 --- a/sfx2/source/doc/autoredactdialog.cxx +++ b/sfx2/source/doc/autoredactdialog.cxx @@ -525,7 +525,6 @@ SfxAutoRedactDialog::SfxAutoRedactDialog(weld::Window* pParent) : SfxDialogController(pParent, "sfx/ui/autoredactdialog.ui", "AutoRedactDialog") , m_bIsValidState(true) , m_bTargetsCopied(false) - , m_xRedactionTargetsLabel(m_xBuilder->weld_label("labelRedactionTargets")) , m_xTargetsBox(new TargetsTable(m_xBuilder->weld_tree_view("targets"))) , m_xLoadBtn(m_xBuilder->weld_button("btnLoadTargets")) , m_xSaveBtn(m_xBuilder->weld_button("btnSaveTargets")) diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 6c72de1ca8e4..89d8fcfe0bc3 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -64,8 +64,6 @@ protected: SfxBindings* pBindings; - weld::Container* mpContainer; - css::uno::Reference<css::frame::XModuleManager2> xModuleManager; DeletionWatcher* m_pDeletionWatcher; diff --git a/sfx2/source/inc/versdlg.hxx b/sfx2/source/inc/versdlg.hxx index 22513f365220..02bcccf9668c 100644 --- a/sfx2/source/inc/versdlg.hxx +++ b/sfx2/source/inc/versdlg.hxx @@ -77,10 +77,6 @@ class SfxCmisVersionsDialog final : public SfxDialogController SfxViewFrame* m_pViewFrame; std::unique_ptr<SfxVersionTableDtor> m_pTable; - std::unique_ptr<weld::Button> m_xOpenButton; - std::unique_ptr<weld::Button> m_xViewButton; - std::unique_ptr<weld::Button> m_xDeleteButton; - std::unique_ptr<weld::Button> m_xCompareButton; std::unique_ptr<weld::TreeView> m_xVersionBox; void LoadVersions(); diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 84a7cda21adc..813c92d99fc1 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -160,10 +160,6 @@ namespace { /// Asks the user if editing a read-only document is really wanted. class SfxEditDocumentDialog : public weld::MessageDialogController { -private: - std::unique_ptr<weld::Button> m_xEditDocument; - std::unique_ptr<weld::Button> m_xCancel; - public: SfxEditDocumentDialog(weld::Widget* pParent); }; @@ -171,8 +167,6 @@ public: SfxEditDocumentDialog::SfxEditDocumentDialog(weld::Widget* pParent) : MessageDialogController(pParent, "sfx/ui/editdocumentdialog.ui", "EditDocumentDialog") - , m_xEditDocument(m_xBuilder->weld_button("edit")) - , m_xCancel(m_xBuilder->weld_button("cancel")) { } |