dbaccess/source/ui/dlg/advancedsettings.cxx | 2 -- dbaccess/source/ui/dlg/advancedsettings.hxx | 2 -- dbaccess/source/ui/dlg/detailpages.hxx | 6 ------ dbaccess/source/ui/dlg/dsselect.cxx | 3 --- dbaccess/source/ui/dlg/dsselect.hxx | 3 --- dbaccess/source/ui/dlg/generalpage.cxx | 1 - dbaccess/source/ui/dlg/generalpage.hxx | 1 - dbaccess/source/ui/inc/WTypeSelect.hxx | 1 - dbaccess/source/ui/misc/WTypeSelect.cxx | 1 - extensions/source/dbpilots/commonpagesdbp.cxx | 1 - extensions/source/dbpilots/commonpagesdbp.hxx | 1 - extensions/source/scanner/grid.cxx | 1 - extensions/source/scanner/grid.hxx | 1 - filter/source/pdf/impdialog.cxx | 1 - filter/source/pdf/impdialog.hxx | 1 - i18npool/inc/textconversion.hxx | 5 ----- include/sfx2/listview.hxx | 1 - include/sfx2/templatedlg.hxx | 3 --- include/svtools/PlaceEditDialog.hxx | 1 - include/svx/rubydialog.hxx | 2 -- package/source/xstor/switchpersistencestream.cxx | 4 ---- package/source/xstor/switchpersistencestream.hxx | 4 ---- package/source/xstor/xstorage.cxx | 6 +++--- reportdesign/source/ui/dlg/AddField.cxx | 1 - reportdesign/source/ui/dlg/PageNumber.cxx | 2 -- reportdesign/source/ui/inc/AddField.hxx | 1 - reportdesign/source/ui/inc/PageNumber.hxx | 2 -- sfx2/source/doc/templatedlg.cxx | 2 -- svtools/source/dialogs/PlaceEditDialog.cxx | 2 -- svx/source/dialog/rubydialog.cxx | 2 -- 30 files changed, 3 insertions(+), 61 deletions(-)
New commits: commit 57fcfc5a5071ffdb955ce341538263d92ee1eaa5 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Nov 21 11:17:46 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Nov 22 11:04:22 2022 +0100 loplugin:unusedfields Change-Id: Icf6e7e116a087e7f68b86bdb645850a2edaa2f78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143087 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx index 40964305a9f3..1cf713ce3d23 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.cxx +++ b/dbaccess/source/ui/dlg/advancedsettings.cxx @@ -287,9 +287,7 @@ namespace dbaui : OGenericAdministrationPage(pPage, pController, "dbaccess/ui/generatedvaluespage.ui", "GeneratedValuesPage", _rCoreAttrs) , m_xAutoRetrievingEnabled(m_xBuilder->weld_check_button("autoretrieve")) , m_xGrid(m_xBuilder->weld_widget("grid")) - , m_xAutoIncrementLabel(m_xBuilder->weld_label("statementft")) , m_xAutoIncrement(m_xBuilder->weld_entry("statement")) - , m_xAutoRetrievingLabel(m_xBuilder->weld_label("queryft")) , m_xAutoRetrieving(m_xBuilder->weld_entry("query")) { m_xAutoRetrievingEnabled->connect_toggled(LINK(this, GeneratedValuesPage, OnAutoToggleHdl)); diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx index 38f100612b43..9eaca4a41b48 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.hxx +++ b/dbaccess/source/ui/dlg/advancedsettings.hxx @@ -88,9 +88,7 @@ namespace dbaui { std::unique_ptr<weld::CheckButton> m_xAutoRetrievingEnabled; std::unique_ptr<weld::Widget> m_xGrid; - std::unique_ptr<weld::Label> m_xAutoIncrementLabel; std::unique_ptr<weld::Entry> m_xAutoIncrement; - std::unique_ptr<weld::Label> m_xAutoRetrievingLabel; std::unique_ptr<weld::Entry> m_xAutoRetrieving; public: diff --git a/dbaccess/source/ui/dlg/detailpages.hxx b/dbaccess/source/ui/dlg/detailpages.hxx index 2952f42e6155..cd570594afdb 100644 --- a/dbaccess/source/ui/dlg/detailpages.hxx +++ b/dbaccess/source/ui/dlg/detailpages.hxx @@ -54,12 +54,6 @@ namespace dbaui std::unique_ptr<weld::Label> m_xCharsetLabel; std::unique_ptr<CharSetListBox> m_xCharset; - std::unique_ptr<weld::CheckButton> m_xAutoRetrievingEnabled; - std::unique_ptr<weld::Label> m_xAutoIncrementLabel; - std::unique_ptr<weld::Entry> m_xAutoIncrement; - std::unique_ptr<weld::Label> m_xAutoRetrievingLabel; - std::unique_ptr<weld::Entry> m_xAutoRetrieving; - public: virtual bool FillItemSet (SfxItemSet* _rCoreAttrs) override; diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx index 4c0b9a836382..1eb158daa81b 100644 --- a/dbaccess/source/ui/dlg/dsselect.cxx +++ b/dbaccess/source/ui/dlg/dsselect.cxx @@ -32,9 +32,6 @@ using namespace ::com::sun::star::ui::dialogs; ODatasourceSelectDialog::ODatasourceSelectDialog(weld::Window* _pParent, const std::set<OUString>& _rDatasources) : GenericDialogController(_pParent, "dbaccess/ui/choosedatasourcedialog.ui", "ChooseDataSourceDialog") , m_xDatasource(m_xBuilder->weld_tree_view("treeview")) - , m_xOk(m_xBuilder->weld_button("ok")) - , m_xCancel(m_xBuilder->weld_button("cancel")) - , m_xManageDatasources(m_xBuilder->weld_button("organize")) { m_xDatasource->set_size_request(-1, m_xDatasource->get_height_rows(6)); diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx index 87cdef17c7aa..bfd068898093 100644 --- a/dbaccess/source/ui/dlg/dsselect.hxx +++ b/dbaccess/source/ui/dlg/dsselect.hxx @@ -32,9 +32,6 @@ namespace dbaui class ODatasourceSelectDialog final : public weld::GenericDialogController { std::unique_ptr<weld::TreeView> m_xDatasource; - std::unique_ptr<weld::Button> m_xOk; - std::unique_ptr<weld::Button> m_xCancel; - std::unique_ptr<weld::Button> m_xManageDatasources; #ifdef HAVE_ODBC_ADMINISTRATION std::unique_ptr<OOdbcManagement> m_xODBCManagement; #endif diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx index a4ce5402a480..a2a48158c56d 100644 --- a/dbaccess/source/ui/dlg/generalpage.cxx +++ b/dbaccess/source/ui/dlg/generalpage.cxx @@ -454,7 +454,6 @@ namespace dbaui , m_xFT_EmbeddedDBLabel(m_xBuilder->weld_label("embeddeddbLabel")) , m_xEmbeddedDBType(m_xBuilder->weld_combo_box("embeddeddbList")) , m_xFT_DocListLabel(m_xBuilder->weld_label("docListLabel")) - , m_xFT_HelpText(m_xBuilder->weld_label("helpText")) , m_xLB_DocumentList(new OpenDocumentListBox(m_xBuilder->weld_combo_box("documentList"), "com.sun.star.sdb.OfficeDatabaseDocument")) , m_xPB_OpenDatabase(new OpenDocumentButton(m_xBuilder->weld_button("openDatabase"), "com.sun.star.sdb.OfficeDatabaseDocument")) , m_xFT_NoEmbeddedDBLabel(m_xBuilder->weld_label("noembeddeddbLabel")) diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx index 1abda980ec54..57ea5f5a4937 100644 --- a/dbaccess/source/ui/dlg/generalpage.hxx +++ b/dbaccess/source/ui/dlg/generalpage.hxx @@ -135,7 +135,6 @@ namespace dbaui std::unique_ptr<weld::ComboBox> m_xEmbeddedDBType; std::unique_ptr<weld::Label> m_xFT_DocListLabel; - std::unique_ptr<weld::Label> m_xFT_HelpText; std::unique_ptr<OpenDocumentListBox> m_xLB_DocumentList; std::unique_ptr<OpenDocumentButton> m_xPB_OpenDatabase; diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx b/dbaccess/source/ui/inc/WTypeSelect.hxx index 8a953302a978..56af0e355d1a 100644 --- a/dbaccess/source/ui/inc/WTypeSelect.hxx +++ b/dbaccess/source/ui/inc/WTypeSelect.hxx @@ -103,7 +103,6 @@ namespace dbaui DECL_LINK( ButtonClickHdl, weld::Button&, void ); protected: std::unique_ptr<OWizTypeSelectList> m_xColumnNames; - std::unique_ptr<weld::Label> m_xColumns; std::unique_ptr<weld::Container> m_xControlContainer; std::unique_ptr<OWizTypeSelectControl> m_xTypeControl; std::unique_ptr<weld::Label> m_xAutoType; diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 52ffd5733041..830a30bac02c 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -205,7 +205,6 @@ OUString OWizTypeSelectControl::getAutoIncrementValue() const OWizTypeSelect::OWizTypeSelect(weld::Container* pPage, OCopyTableWizard* pWizard, SvStream* pStream) : OWizardPage(pPage, pWizard, "dbaccess/ui/typeselectpage.ui", "TypeSelect") , m_xColumnNames(new OWizTypeSelectList(m_xBuilder->weld_tree_view("columnnames"))) - , m_xColumns(m_xBuilder->weld_label("columns")) , m_xControlContainer(m_xBuilder->weld_container("control_container")) , m_xTypeControl(new OWizTypeSelectControl(m_xControlContainer.get(), this)) , m_xAutoType(m_xBuilder->weld_label("autotype")) diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx index 44d6bef553e1..1a86cc70efd6 100644 --- a/extensions/source/dbpilots/commonpagesdbp.cxx +++ b/extensions/source/dbpilots/commonpagesdbp.cxx @@ -58,7 +58,6 @@ namespace dbp : OControlWizardPage(pPage, pWizard, "modules/sabpilot/ui/tableselectionpage.ui", "TableSelectionPage") , m_xTable(m_xBuilder->weld_tree_view("table")) , m_xDatasource(m_xBuilder->weld_tree_view("datasource")) - , m_xDatasourceLabel(m_xBuilder->weld_label("datasourcelabel")) , m_xSearchDatabase(m_xBuilder->weld_button("search")) , m_xSourceBox(m_xBuilder->weld_container("sourcebox")) { diff --git a/extensions/source/dbpilots/commonpagesdbp.hxx b/extensions/source/dbpilots/commonpagesdbp.hxx index 1ae74215009a..a37398ca3525 100644 --- a/extensions/source/dbpilots/commonpagesdbp.hxx +++ b/extensions/source/dbpilots/commonpagesdbp.hxx @@ -29,7 +29,6 @@ namespace dbp { std::unique_ptr<weld::TreeView> m_xTable; std::unique_ptr<weld::TreeView> m_xDatasource; - std::unique_ptr<weld::Label> m_xDatasourceLabel; std::unique_ptr<weld::Button> m_xSearchDatabase; std::unique_ptr<weld::Container> m_xSourceBox; diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 0082d04e5def..7d87010ea152 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -206,7 +206,6 @@ void GridWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea) GridDialog::GridDialog(weld::Window* pParent, double* pXValues, double* pYValues, int nValues) : GenericDialogController(pParent, "modules/scanner/ui/griddialog.ui", "GridDialog") - , m_xOKButton(m_xBuilder->weld_button("ok")) , m_xResetTypeBox(m_xBuilder->weld_combo_box("resetTypeCombobox")) , m_xResetButton(m_xBuilder->weld_button("resetButton")) , m_xGridWindow(new GridWindow) diff --git a/extensions/source/scanner/grid.hxx b/extensions/source/scanner/grid.hxx index 86f1a521c6e1..319de77129d7 100644 --- a/extensions/source/scanner/grid.hxx +++ b/extensions/source/scanner/grid.hxx @@ -33,7 +33,6 @@ enum class ResetType class GridDialog : public weld::GenericDialogController { - std::unique_ptr<weld::Button> m_xOKButton; std::unique_ptr<weld::ComboBox> m_xResetTypeBox; std::unique_ptr<weld::Button> m_xResetButton; std::unique_ptr<GridWindow> m_xGridWindow; diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 2287dc8665dc..746302877ae9 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -498,7 +498,6 @@ ImpPDFTabGeneralPage::ImpPDFTabGeneralPage(weld::Container* pPage, weld::DialogC , mxRbRange(m_xBuilder->weld_radio_button("range")) , mxRbSelection(m_xBuilder->weld_radio_button("selection")) , mxEdPages(m_xBuilder->weld_entry("pages")) - , mxSelectedSheets(m_xBuilder->weld_label("selectedsheets")) , mxRbLosslessCompression(m_xBuilder->weld_radio_button("losslesscompress")) , mxRbJPEGCompression(m_xBuilder->weld_radio_button("jpegcompress")) , mxQualityFrame(m_xBuilder->weld_widget("qualityframe")) diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 219d47e6d613..5063f91ee635 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -185,7 +185,6 @@ class ImpPDFTabGeneralPage : public SfxTabPage std::unique_ptr<weld::RadioButton> mxRbRange; std::unique_ptr<weld::RadioButton> mxRbSelection; std::unique_ptr<weld::Entry> mxEdPages; - std::unique_ptr<weld::Label> mxSelectedSheets; std::unique_ptr<weld::RadioButton> mxRbLosslessCompression; std::unique_ptr<weld::RadioButton> mxRbJPEGCompression; std::unique_ptr<weld::Widget> mxQualityFrame; diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx index a6fefa1c507e..ebb973de0b3a 100644 --- a/i18npool/inc/textconversion.hxx +++ b/i18npool/inc/textconversion.hxx @@ -119,11 +119,6 @@ private: -// for SChines/TChinese word conversion -typedef struct { - sal_Int16 count; -} STC_WordIndex; - class TextConversion_zh final : public TextConversionService { public: diff --git a/include/sfx2/listview.hxx b/include/sfx2/listview.hxx index fbcdd0cbdb61..72d4ae7e79f4 100644 --- a/include/sfx2/listview.hxx +++ b/include/sfx2/listview.hxx @@ -89,7 +89,6 @@ protected: protected: std::unique_ptr<weld::TreeView> mxTreeView; std::vector<std::unique_ptr<ListViewItem>> mListViewItems; - Link<weld::TreeView&, void> maSelectionChangedHdl; int mnSortColumn; }; commit a55d9d57e5bfe40a6d97c78b35646372f599c840 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Nov 21 11:11:39 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Nov 22 11:04:08 2022 +0100 loplugin:unusedfields Change-Id: I726b8b9dee3a424f731078cd6b10027423454bee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143086 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index 10d3107fc3e1..49d559152563 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -128,7 +128,6 @@ protected: std::unique_ptr<weld::CheckButton> mxCBXHideDlg; std::unique_ptr<weld::MenuButton> mxActionBar; std::unique_ptr<TemplateDlgLocalView> mxLocalView; - std::unique_ptr<weld::Menu> mxTemplateDefaultMenu; std::unique_ptr<weld::CustomWeld> mxLocalViewWeld; std::unique_ptr<weld::Toggleable> mxListViewButton; std::unique_ptr<weld::Toggleable> mxThumbnailViewButton; @@ -145,9 +144,7 @@ private: bool mbIsNewCategory; std::unique_ptr<weld::TreeView> mxLBCategory; - std::unique_ptr<weld::Label> mxSelectLabel; std::unique_ptr<weld::Entry> mxNewCategoryEdit; - std::unique_ptr<weld::Label> mxCreateLabel; std::unique_ptr<weld::Button> mxOKButton; public: diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx index 931aad16f811..2f4fd5426fd1 100644 --- a/include/svtools/PlaceEditDialog.hxx +++ b/include/svtools/PlaceEditDialog.hxx @@ -42,7 +42,6 @@ public: std::unique_ptr<weld::Entry> m_xEDUsername; std::unique_ptr<weld::Label> m_xFTUsernameLabel; std::unique_ptr<weld::Button> m_xBTOk; - std::unique_ptr<weld::Button> m_xBTCancel; std::unique_ptr<weld::Button> m_xBTDelete; std::unique_ptr<weld::Button> m_xBTRepoRefresh; std::unique_ptr<weld::CheckButton> m_xCBPassword; diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index 12593c73ffc6..655b4f2ae049 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -64,8 +64,6 @@ class SvxRubyDialog final : public SfxModelessDialogController rtl::Reference<SvxRubyData_Impl> m_pImpl; weld::Entry* aEditArr[8]; - std::unique_ptr<weld::Label> m_xLeftFT; - std::unique_ptr<weld::Label> m_xRightFT; std::unique_ptr<weld::Entry> m_xLeft1ED; std::unique_ptr<weld::Entry> m_xRight1ED; std::unique_ptr<weld::Entry> m_xLeft2ED; diff --git a/package/source/xstor/switchpersistencestream.cxx b/package/source/xstor/switchpersistencestream.cxx index f27dce18edc5..ff6118726628 100644 --- a/package/source/xstor/switchpersistencestream.cxx +++ b/package/source/xstor/switchpersistencestream.cxx @@ -63,17 +63,13 @@ struct SPStreamData_Impl }; SwitchablePersistenceStream::SwitchablePersistenceStream( - uno::Reference< uno::XComponentContext > xContext, const uno::Reference< io::XStream >& xStream ) -: m_xContext(std::move( xContext )) { SwitchPersistenceTo( xStream ); } SwitchablePersistenceStream::SwitchablePersistenceStream( - uno::Reference< uno::XComponentContext > xContext, const uno::Reference< io::XInputStream >& xInputStream ) -: m_xContext(std::move( xContext )) { SwitchPersistenceTo( xInputStream ); } diff --git a/package/source/xstor/switchpersistencestream.hxx b/package/source/xstor/switchpersistencestream.hxx index ad0293be8110..64d4e37fd025 100644 --- a/package/source/xstor/switchpersistencestream.hxx +++ b/package/source/xstor/switchpersistencestream.hxx @@ -49,8 +49,6 @@ class SwitchablePersistenceStream { std::mutex m_aMutex; - const css::uno::Reference< css::uno::XComponentContext > m_xContext; - std::unique_ptr<SPStreamData_Impl> m_pStreamData; void CloseAll_Impl(); @@ -58,11 +56,9 @@ class SwitchablePersistenceStream public: SwitchablePersistenceStream( - css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< css::io::XStream >& xStream ); SwitchablePersistenceStream( - css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< css::io::XInputStream >& xInStream ); virtual ~SwitchablePersistenceStream() override; diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 5ac7f0618b7d..31aa1924048b 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -165,7 +165,7 @@ OStorage_Impl::OStorage_Impl( uno::Reference< io::XInputStream > const & xInpu SAL_WARN_IF( !xInputStream.is(), "package.xstor", "No input stream is provided!" ); assert(xContext.is()); - m_pSwitchStream = new SwitchablePersistenceStream(xContext, xInputStream); + m_pSwitchStream = new SwitchablePersistenceStream(xInputStream); m_xInputStream = m_pSwitchStream->getInputStream(); if ( m_nStorageMode & embed::ElementModes::WRITE ) @@ -207,12 +207,12 @@ OStorage_Impl::OStorage_Impl( uno::Reference< io::XStream > const & xStream, if ( m_nStorageMode & embed::ElementModes::WRITE ) { - m_pSwitchStream = new SwitchablePersistenceStream(xContext, xStream); + m_pSwitchStream = new SwitchablePersistenceStream(xStream); m_xStream = static_cast< io::XStream* >( m_pSwitchStream.get() ); } else { - m_pSwitchStream = new SwitchablePersistenceStream(xContext, xStream->getInputStream()); + m_pSwitchStream = new SwitchablePersistenceStream(xStream->getInputStream()); m_xInputStream = m_pSwitchStream->getInputStream(); } } 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; diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 8a710fd84609..6bbb7988e726 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1265,9 +1265,7 @@ SfxTemplateCategoryDialog::SfxTemplateCategoryDialog(weld::Window* pParent) : GenericDialogController(pParent, "sfx/ui/templatecategorydlg.ui", "TemplatesCategoryDialog") , mbIsNewCategory(false) , mxLBCategory(m_xBuilder->weld_tree_view("categorylb")) - , mxSelectLabel(m_xBuilder->weld_label("select_label")) , mxNewCategoryEdit(m_xBuilder->weld_entry("category_entry")) - , mxCreateLabel(m_xBuilder->weld_label("create_label")) , mxOKButton(m_xBuilder->weld_button("ok")) { mxLBCategory->append_text(SfxResId(STR_CATEGORY_NONE)); diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index 8e66c1b326ed..2275965e866a 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -32,7 +32,6 @@ PlaceEditDialog::PlaceEditDialog(weld::Window* pParent) , m_xEDUsername(m_xBuilder->weld_entry("login")) , m_xFTUsernameLabel(m_xBuilder->weld_label("loginLabel")) , m_xBTOk(m_xBuilder->weld_button("ok")) - , m_xBTCancel(m_xBuilder->weld_button("cancel")) , m_xBTDelete(m_xBuilder->weld_button("delete")) , m_xBTRepoRefresh(m_xBuilder->weld_button("repositoriesRefresh")) , m_xCBPassword(m_xBuilder->weld_check_button("rememberPassword")) @@ -84,7 +83,6 @@ PlaceEditDialog::PlaceEditDialog(weld::Window* pParent, const std::shared_ptr<Pl , m_xEDUsername(m_xBuilder->weld_entry("login")) , m_xFTUsernameLabel(m_xBuilder->weld_label("loginLabel")) , m_xBTOk(m_xBuilder->weld_button("ok")) - , m_xBTCancel(m_xBuilder->weld_button("cancel")) , m_xBTDelete(m_xBuilder->weld_button("delete")) , m_xBTRepoRefresh(m_xBuilder->weld_button("repositoriesRefresh")) , m_xCBPassword(m_xBuilder->weld_check_button("rememberPassword")) diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 3abd7e9b3517..4059e8d35c8c 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -188,8 +188,6 @@ SvxRubyDialog::SvxRubyDialog(SfxBindings* pBind, SfxChildWindow* pCW, weld::Wind , bModified(false) , pBindings(pBind) , m_pImpl(new SvxRubyData_Impl) - , m_xLeftFT(m_xBuilder->weld_label("basetextft")) - , m_xRightFT(m_xBuilder->weld_label("rubytextft")) , m_xLeft1ED(m_xBuilder->weld_entry("Left1ED")) , m_xRight1ED(m_xBuilder->weld_entry("Right1ED")) , m_xLeft2ED(m_xBuilder->weld_entry("Left2ED"))