summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-21 11:11:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-22 11:04:08 +0100
commita55d9d57e5bfe40a6d97c78b35646372f599c840 (patch)
treebe2898cb64e36d554c42a67a0a6c83e816e93607 /reportdesign
parentabe269d3f9ca01bb1151d3ef8c20bcfa6530c65c (diff)
loplugin:unusedfields
Change-Id: I726b8b9dee3a424f731078cd6b10027423454bee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143086 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx1
-rw-r--r--reportdesign/source/ui/dlg/PageNumber.cxx2
-rw-r--r--reportdesign/source/ui/inc/AddField.hxx1
-rw-r--r--reportdesign/source/ui/inc/PageNumber.hxx2
4 files changed, 0 insertions, 6 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx
index d9fe4f679e14..6ae0ccabebf1 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -67,7 +67,6 @@ OAddFieldWindow::OAddFieldWindow(weld::Window* pParent, uno::Reference< beans::X
, m_xRowSet(std::move(xRowSet))
, m_xActions(m_xBuilder->weld_toolbar("toolbox"))
, m_xListBox(m_xBuilder->weld_tree_view("treeview"))
- , m_xHelpText(m_xBuilder->weld_label("helptext"))
, m_nCommandType(0)
, m_bEscapeProcessing(false)
{
diff --git a/reportdesign/source/ui/dlg/PageNumber.cxx b/reportdesign/source/ui/dlg/PageNumber.cxx
index 312d0772712b..1e267fb1fb10 100644
--- a/reportdesign/source/ui/dlg/PageNumber.cxx
+++ b/reportdesign/source/ui/dlg/PageNumber.cxx
@@ -38,10 +38,8 @@ OPageNumberDialog::OPageNumberDialog(weld::Window* pParent,
: GenericDialogController(pParent, "modules/dbreport/ui/pagenumberdialog.ui", "PageNumberDialog")
, m_pController(_pController)
, m_xHoldAlive(std::move(_xHoldAlive))
- , m_xPageN(m_xBuilder->weld_radio_button("pagen"))
, m_xPageNofM(m_xBuilder->weld_radio_button("pagenofm"))
, m_xTopPage(m_xBuilder->weld_radio_button("toppage"))
- , m_xBottomPage(m_xBuilder->weld_radio_button("bottompage"))
, m_xAlignmentLst(m_xBuilder->weld_combo_box("alignment"))
, m_xShowNumberOnFirstPage(m_xBuilder->weld_check_button("shownumberonfirstpage"))
{
diff --git a/reportdesign/source/ui/inc/AddField.hxx b/reportdesign/source/ui/inc/AddField.hxx
index be33db5799ca..c5d8eb603d94 100644
--- a/reportdesign/source/ui/inc/AddField.hxx
+++ b/reportdesign/source/ui/inc/AddField.hxx
@@ -52,7 +52,6 @@ class OAddFieldWindow : public weld::GenericDialogController
std::unique_ptr<weld::Toolbar> m_xActions;
std::unique_ptr<weld::TreeView> m_xListBox;
- std::unique_ptr<weld::Label> m_xHelpText;
Link<OAddFieldWindow&,void> m_aCreateLink;
OUString m_aCommandName;
diff --git a/reportdesign/source/ui/inc/PageNumber.hxx b/reportdesign/source/ui/inc/PageNumber.hxx
index ce39f2bfac83..89a857b49857 100644
--- a/reportdesign/source/ui/inc/PageNumber.hxx
+++ b/reportdesign/source/ui/inc/PageNumber.hxx
@@ -35,10 +35,8 @@ class OPageNumberDialog : public weld::GenericDialogController
::rptui::OReportController* m_pController;
css::uno::Reference< css::report::XReportDefinition>
m_xHoldAlive;
- std::unique_ptr<weld::RadioButton> m_xPageN;
std::unique_ptr<weld::RadioButton> m_xPageNofM;
std::unique_ptr<weld::RadioButton> m_xTopPage;
- std::unique_ptr<weld::RadioButton> m_xBottomPage;
std::unique_ptr<weld::ComboBox> m_xAlignmentLst;
std::unique_ptr<weld::CheckButton> m_xShowNumberOnFirstPage;