scripting/source/stringresource/stringresource.cxx | 8 +++----- sd/source/ui/animations/CustomAnimationDialog.cxx | 8 -------- sd/source/ui/dlg/BulletAndPositionDlg.cxx | 1 - sd/source/ui/dlg/custsdlg.cxx | 4 ---- sd/source/ui/inc/BulletAndPositionDlg.hxx | 1 - sd/source/ui/inc/custsdlg.hxx | 4 ---- sfx2/inc/autoredactdialog.hxx | 1 - sfx2/source/dialog/mgetempl.cxx | 1 - sfx2/source/dialog/mgetempl.hxx | 1 - sfx2/source/dialog/templdlg.cxx | 1 - sfx2/source/dialog/versdlg.cxx | 4 ---- sfx2/source/doc/autoredactdialog.cxx | 1 - sfx2/source/inc/templdgi.hxx | 2 -- sfx2/source/inc/versdlg.hxx | 4 ---- sfx2/source/view/viewfrm.cxx | 6 ------ svx/source/dialog/SafeModeDialog.cxx | 1 - svx/source/dialog/SafeModeDialog.hxx | 1 - svx/source/form/datanavi.cxx | 3 --- svx/source/inc/datanavi.hxx | 2 -- svx/source/sidebar/EmptyPanel.cxx | 1 - svx/source/sidebar/EmptyPanel.hxx | 3 --- svx/source/sidebar/graphic/GraphicPropertyPanel.hxx | 4 ---- svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 3 --- svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 3 --- 24 files changed, 3 insertions(+), 65 deletions(-)
New commits: commit c91ec113a24ecc2bf883b1620f4e900f713dc996 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Nov 21 10:59:56 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Nov 22 05:39:20 2022 +0100 loplugin:unusedfields Change-Id: I4a7276ffc36b4f954fe1fa39fb5666fa184e66e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143016 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index b99a512d1168..e1fc4729176c 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -1246,14 +1246,13 @@ namespace { class BinaryInput { Sequence< sal_Int8 > m_aData; - Reference< XComponentContext > m_xContext; const sal_Int8* m_pData; sal_Int32 m_nCurPos; sal_Int32 m_nSize; public: - BinaryInput( const Sequence< ::sal_Int8 >& aData, Reference< XComponentContext > const & xContext ); + BinaryInput( const Sequence< ::sal_Int8 >& aData ); Reference< io::XInputStream > getInputStreamForSection( sal_Int32 nSize ); @@ -1269,9 +1268,8 @@ public: } -BinaryInput::BinaryInput( const Sequence< ::sal_Int8 >& aData, Reference< XComponentContext > const & xContext ) +BinaryInput::BinaryInput( const Sequence< ::sal_Int8 >& aData ) : m_aData( aData ) - , m_xContext( xContext ) { m_pData = m_aData.getConstArray(); m_nCurPos = 0; @@ -1384,7 +1382,7 @@ void StringResourcePersistenceImpl::importBinary( const Sequence< ::sal_Int8 >& while( nOldLocaleCount > 0 ); // Import data - BinaryInput aIn( Data, m_xContext ); + BinaryInput aIn( Data ); aIn.readInt16(); // version sal_Int32 nLocaleCount = aIn.readInt16(); diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 83a57efb0ad4..625a3049695e 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -902,7 +902,6 @@ private: std::unique_ptr<weld::Label> mxFTSound; std::unique_ptr<weld::ComboBox> mxLBSound; std::unique_ptr<weld::Button> mxPBSoundPreview; - std::unique_ptr<weld::Label> mxFTAfterEffect; std::unique_ptr<weld::ComboBox> mxLBAfterEffect; std::unique_ptr<weld::Label> mxFTDimColor; std::unique_ptr<ColorListBox> mxCLBDimColor; @@ -927,7 +926,6 @@ CustomAnimationEffectTabPage::CustomAnimationEffectTabPage(weld::Container* pPar , mxFTSound(mxBuilder->weld_label("sound_label")) , mxLBSound(mxBuilder->weld_combo_box("sound_list")) , mxPBSoundPreview(mxBuilder->weld_button("sound_preview")) - , mxFTAfterEffect(mxBuilder->weld_label("aeffect_label")) , mxLBAfterEffect(mxBuilder->weld_combo_box("aeffect_list")) , mxFTDimColor(mxBuilder->weld_label("dim_color_label")) , mxCLBDimColor(new ColorListBox(mxBuilder->weld_menu_button("dim_color_list"), [pDialog]{ return pDialog; })) @@ -1433,9 +1431,7 @@ private: std::unique_ptr<weld::Builder> mxBuilder; std::unique_ptr<weld::Container> mxContainer; - std::unique_ptr<weld::Label> mxFTStart; std::unique_ptr<weld::ComboBox> mxLBStart; - std::unique_ptr<weld::Label> mxFTStartDelay; std::unique_ptr<weld::MetricSpinButton> mxMFStartDelay; std::unique_ptr<weld::Label> mxFTDuration; std::unique_ptr<weld::MetricSpinButton> mxCBXDuration; @@ -1451,9 +1447,7 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(weld::Container* : mpSet(pSet) , mxBuilder(Application::CreateBuilder(pParent, "modules/simpress/ui/customanimationtimingtab.ui")) , mxContainer(mxBuilder->weld_container("TimingTab")) - , mxFTStart(mxBuilder->weld_label("start_label")) , mxLBStart(mxBuilder->weld_combo_box("start_list")) - , mxFTStartDelay(mxBuilder->weld_label("delay_label")) , mxMFStartDelay(mxBuilder->weld_metric_spin_button("delay_value", FieldUnit::SECOND)) , mxFTDuration(mxBuilder->weld_label("duration_label")) , mxCBXDuration(mxBuilder->weld_metric_spin_button("anim_duration", FieldUnit::SECOND)) @@ -1785,7 +1779,6 @@ private: std::unique_ptr<weld::Builder> mxBuilder; std::unique_ptr<weld::Container> mxContainer; - std::unique_ptr<weld::Label> mxFTGroupText; std::unique_ptr<weld::ComboBox> mxLBGroupText; std::unique_ptr<weld::CheckButton> mxCBXGroupAuto; std::unique_ptr<weld::MetricSpinButton> mxMFGroupAuto; @@ -1798,7 +1791,6 @@ CustomAnimationTextAnimTabPage::CustomAnimationTextAnimTabPage(weld::Container* , mbHasVisibleShapes(true) , mxBuilder(Application::CreateBuilder(pParent, "modules/simpress/ui/customanimationtexttab.ui")) , mxContainer(mxBuilder->weld_container("TextAnimationTab")) - , mxFTGroupText(mxBuilder->weld_label("group_text_label")) , mxLBGroupText(mxBuilder->weld_combo_box("group_text_list")) , mxCBXGroupAuto(mxBuilder->weld_check_button("auto_after")) , mxMFGroupAuto(mxBuilder->weld_metric_spin_button("auto_after_value",FieldUnit::SECOND)) diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx index 384b477e46b6..763d0b25435f 100644 --- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx +++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx @@ -114,7 +114,6 @@ SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf , m_xDistBorderFT(m_xBuilder->weld_label("indent")) , m_xDistBorderMF(m_xBuilder->weld_metric_spin_button("indentmf", FieldUnit::CM)) , m_xRelativeCB(m_xBuilder->weld_check_button("relative")) - , m_xIndentFT(m_xBuilder->weld_label("numberingwidth")) , m_xIndentMF(m_xBuilder->weld_metric_spin_button("numberingwidthmf", FieldUnit::CM)) , m_xLeftTB(m_xBuilder->weld_toggle_button("left")) , m_xCenterTB(m_xBuilder->weld_toggle_button("center")) diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index bc421d7e48a5..1774b62d0211 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -41,9 +41,7 @@ SdCustomShowDlg::SdCustomShowDlg(weld::Window* pWindow, SdDrawDocument& rDrawDoc , m_xBtnEdit(m_xBuilder->weld_button("edit")) , m_xBtnRemove(m_xBuilder->weld_button("delete")) , m_xBtnCopy(m_xBuilder->weld_button("copy")) - , m_xBtnHelp(m_xBuilder->weld_button("help")) , m_xBtnStartShow(m_xBuilder->weld_button("startshow")) - , m_xBtnOK(m_xBuilder->weld_button("ok")) { m_xLbCustomShows->set_size_request(m_xLbCustomShows->get_approximate_digit_width() * 32, m_xLbCustomShows->get_height_rows(8)); @@ -252,8 +250,6 @@ SdDefineCustomShowDlg::SdDefineCustomShowDlg(weld::Window* pWindow, SdDrawDocume , m_xLbCustomPages(m_xBuilder->weld_tree_view("custompages")) , m_xDropTargetHelper(new weld::ReorderingDropTarget(*m_xLbCustomPages)) , m_xBtnOK(m_xBuilder->weld_button("ok")) - , m_xBtnCancel(m_xBuilder->weld_button("cancel")) - , m_xBtnHelp(m_xBuilder->weld_button("help")) { Link<weld::Button&,void> aLink = LINK( this, SdDefineCustomShowDlg, ClickButtonHdl ); m_xBtnAdd->connect_clicked( aLink ); diff --git a/sd/source/ui/inc/BulletAndPositionDlg.hxx b/sd/source/ui/inc/BulletAndPositionDlg.hxx index 6dde737537ce..90f940487cb7 100644 --- a/sd/source/ui/inc/BulletAndPositionDlg.hxx +++ b/sd/source/ui/inc/BulletAndPositionDlg.hxx @@ -98,7 +98,6 @@ class SvxBulletAndPositionDlg : public weld::GenericDialogController std::unique_ptr<weld::Label> m_xDistBorderFT; std::unique_ptr<weld::MetricSpinButton> m_xDistBorderMF; std::unique_ptr<weld::CheckButton> m_xRelativeCB; - std::unique_ptr<weld::Label> m_xIndentFT; std::unique_ptr<weld::MetricSpinButton> m_xIndentMF; std::unique_ptr<weld::Toggleable> m_xLeftTB; std::unique_ptr<weld::Toggleable> m_xCenterTB; diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index 52ae878529a9..c6547cc918ff 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -37,9 +37,7 @@ private: std::unique_ptr<weld::Button> m_xBtnEdit; std::unique_ptr<weld::Button> m_xBtnRemove; std::unique_ptr<weld::Button> m_xBtnCopy; - std::unique_ptr<weld::Button> m_xBtnHelp; std::unique_ptr<weld::Button> m_xBtnStartShow; - std::unique_ptr<weld::Button> m_xBtnOK; void CheckState(); @@ -69,8 +67,6 @@ private: std::unique_ptr<weld::TreeView> m_xLbCustomPages; std::unique_ptr<weld::ReorderingDropTarget> m_xDropTargetHelper; std::unique_ptr<weld::Button> m_xBtnOK; - std::unique_ptr<weld::Button> m_xBtnCancel; - std::unique_ptr<weld::Button> m_xBtnHelp; void CheckState(); void CheckCustomShow(); 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")) { } commit 2e7f77d3fe01e36222d5ad84c18d7d7537092972 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Nov 21 10:53:38 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Nov 22 05:39:04 2022 +0100 loplugin:unusedfields Change-Id: I37207c3610c25d9e37e77bdae16b613dd8410525 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143015 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx index beb530030f03..9da7fddfd25b 100644 --- a/svx/source/dialog/SafeModeDialog.cxx +++ b/svx/source/dialog/SafeModeDialog.cxx @@ -50,7 +50,6 @@ SafeModeDialog::SafeModeDialog(weld::Window* pParent) , mxBugLink(m_xBuilder->weld_link_button("linkbutton_bugs")) , mxUserProfileLink(m_xBuilder->weld_link_button("linkbutton_profile")) , mxBtnCreateZip(m_xBuilder->weld_button("btn_create_zip")) - , mxExpander(m_xBuilder->weld_expander("expander")) { m_xDialog->set_centered_on_parent(false); mxRadioRestore->connect_toggled(LINK(this, SafeModeDialog, RadioBtnHdl)); diff --git a/svx/source/dialog/SafeModeDialog.hxx b/svx/source/dialog/SafeModeDialog.hxx index 0f90c1e29647..dd7db077e084 100644 --- a/svx/source/dialog/SafeModeDialog.hxx +++ b/svx/source/dialog/SafeModeDialog.hxx @@ -48,7 +48,6 @@ private: std::unique_ptr<weld::LinkButton> mxBugLink; std::unique_ptr<weld::LinkButton> mxUserProfileLink; std::unique_ptr<weld::Button> mxBtnCreateZip; - std::unique_ptr<weld::Expander> mxExpander; // local BackupFileHelper for handling possible restores comphelper::BackupFileHelper maBackupFileHelper; diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index f0639e1119cc..5592ad8002a4 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -2066,8 +2066,6 @@ namespace svxform , m_xDefaultED(m_xBuilder->weld_entry("value")) , m_xDefaultBtn(m_xBuilder->weld_button("browse")) , m_xSettingsFrame(m_xBuilder->weld_widget("settingsframe")) - , m_xDataTypeFT(m_xBuilder->weld_label("datatypeft")) - , m_xDataTypeLB(m_xBuilder->weld_combo_box("datatype")) , m_xRequiredCB(m_xBuilder->weld_check_button("required")) , m_xRequiredBtn(m_xBuilder->weld_button("requiredcond")) , m_xRelevantCB(m_xBuilder->weld_check_button("relevant")) @@ -3044,7 +3042,6 @@ namespace svxform AddInstanceDialog::AddInstanceDialog(weld::Window* pParent, bool _bEdit) : GenericDialogController(pParent, "svx/ui/addinstancedialog.ui", "AddInstanceDialog") , m_xNameED(m_xBuilder->weld_entry("name")) - , m_xURLFT(m_xBuilder->weld_label("urlft")) , m_xURLED(new SvtURLBox(m_xBuilder->weld_combo_box("url"))) , m_xFilePickerBtn(m_xBuilder->weld_button("browse")) , m_xLinkInstanceCB(m_xBuilder->weld_check_button("link")) diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index 33be4f3c1cc0..f1564fd20e8a 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -364,7 +364,6 @@ namespace svxform std::unique_ptr<weld::Entry> m_xDefaultED; std::unique_ptr<weld::Button> m_xDefaultBtn; std::unique_ptr<weld::Widget> m_xSettingsFrame; - std::unique_ptr<weld::Label> m_xDataTypeFT; std::unique_ptr<weld::ComboBox> m_xDataTypeLB; std::unique_ptr<weld::CheckButton> m_xRequiredCB; std::unique_ptr<weld::Button> m_xRequiredBtn; @@ -547,7 +546,6 @@ namespace svxform OUString m_sAllFilterName; std::unique_ptr<weld::Entry> m_xNameED; - std::unique_ptr<weld::Label> m_xURLFT; std::unique_ptr<SvtURLBox> m_xURLED; std::unique_ptr<weld::Button> m_xFilePickerBtn; std::unique_ptr<weld::CheckButton> m_xLinkInstanceCB; diff --git a/svx/source/sidebar/EmptyPanel.cxx b/svx/source/sidebar/EmptyPanel.cxx index 3bc21636b295..7641b6e9df02 100644 --- a/svx/source/sidebar/EmptyPanel.cxx +++ b/svx/source/sidebar/EmptyPanel.cxx @@ -23,7 +23,6 @@ namespace svx::sidebar { EmptyPanel::EmptyPanel(weld::Widget* pParent) : PanelLayout(pParent, "EmptyPanel", "svx/ui/sidebarempty.ui") - , mxMessageControl(m_xBuilder->weld_label("message")) { } diff --git a/svx/source/sidebar/EmptyPanel.hxx b/svx/source/sidebar/EmptyPanel.hxx index 26007a5302cc..feec59a06e8a 100644 --- a/svx/source/sidebar/EmptyPanel.hxx +++ b/svx/source/sidebar/EmptyPanel.hxx @@ -31,9 +31,6 @@ class EmptyPanel final : public PanelLayout public: explicit EmptyPanel(weld::Widget* pParent); virtual ~EmptyPanel() override; - -private: - std::unique_ptr<weld::Label> mxMessageControl; }; } // end of namespace svx::sidebar diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx index e7fd4914b3b1..86923942935d 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx @@ -69,10 +69,6 @@ private: std::unique_ptr<weld::MetricSpinButton> mxMtrContrast; std::unique_ptr<weld::ComboBox> mxLBColorMode; std::unique_ptr<weld::MetricSpinButton> mxMtrTrans; - std::unique_ptr<weld::MetricSpinButton> mxMtrRed; - std::unique_ptr<weld::MetricSpinButton> mxMtrGreen; - std::unique_ptr<weld::MetricSpinButton> mxMtrBlue; - std::unique_ptr<weld::SpinButton> mxMtrGamma; DECL_LINK( ModifyBrightnessHdl, weld::MetricSpinButton&, void ); DECL_LINK( ModifyContrastHdl, weld::MetricSpinButton&, void ); diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx index a29f8cdf6c04..4ff5aadc8792 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx @@ -302,11 +302,8 @@ ChineseDictionaryDialog::ChineseDictionaryDialog(weld::Window* pParent) , m_xRB_To_Simplified(m_xBuilder->weld_radio_button("tradtosimple")) , m_xRB_To_Traditional(m_xBuilder->weld_radio_button("simpletotrad")) , m_xCB_Reverse(m_xBuilder->weld_check_button("reverse")) - , m_xFT_Term(m_xBuilder->weld_label("termft")) , m_xED_Term(m_xBuilder->weld_entry("term")) - , m_xFT_Mapping(m_xBuilder->weld_label("mappingft")) , m_xED_Mapping(m_xBuilder->weld_entry("mapping")) - , m_xFT_Property(m_xBuilder->weld_label("propertyft")) , m_xLB_Property(m_xBuilder->weld_combo_box("property")) , m_xCT_DictionaryToSimplified(new DictionaryList(m_xBuilder->weld_tree_view("tradtosimpleview"))) , m_xCT_DictionaryToTraditional(new DictionaryList(m_xBuilder->weld_tree_view("simpletotradview"))) diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index bbca91feb8a8..fc05f397693d 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -145,13 +145,10 @@ private: std::unique_ptr<weld::CheckButton> m_xCB_Reverse; - std::unique_ptr<weld::Label> m_xFT_Term; std::unique_ptr<weld::Entry> m_xED_Term; - std::unique_ptr<weld::Label> m_xFT_Mapping; std::unique_ptr<weld::Entry> m_xED_Mapping; - std::unique_ptr<weld::Label> m_xFT_Property; std::unique_ptr<weld::ComboBox> m_xLB_Property; std::unique_ptr<DictionaryList> m_xCT_DictionaryToSimplified;