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/source/view/viewfrm.cxx | |
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/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
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")) { } |