diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-01 15:41:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-01 21:28:53 +0100 |
commit | 224fc966096e9fc52d8e41fbae211e3999edd945 (patch) | |
tree | 6ce0a574a0fc53ad7c647690505495026c64f035 /include | |
parent | 8e33793d72a0561ebcf19ca22df814bb347813b7 (diff) |
loplugin:unusedfields make some fields private
Change-Id: Ia30e3b7f10ae11c7a74e6860ac0a6115caaa439f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143529
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/toolkit/awt/vclxwindows.hxx | 4 | ||||
-rw-r--r-- | include/unotools/eventlisteneradapter.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbadialogbase.hxx | 3 |
3 files changed, 2 insertions, 7 deletions
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx index 677186367a87..bffddf6fd63e 100644 --- a/include/toolkit/awt/vclxwindows.hxx +++ b/include/toolkit/awt/vclxwindows.hxx @@ -437,11 +437,9 @@ public: class SVTXFormattedField : public VCLXSpinField { -protected: rtl::Reference<SvNumberFormatsSupplierObj> m_xCurrentSupplier; bool bIsStandardSupplier; - - sal_Int32 nKeyToSetDelayed; + sal_Int32 nKeyToSetDelayed; public: SVTXFormattedField(); diff --git a/include/unotools/eventlisteneradapter.hxx b/include/unotools/eventlisteneradapter.hxx index 92fbe212c586..f3d9ede9cd45 100644 --- a/include/unotools/eventlisteneradapter.hxx +++ b/include/unotools/eventlisteneradapter.hxx @@ -40,11 +40,9 @@ namespace utl { friend class OEventListenerImpl; - private: OEventListenerAdapter( const OEventListenerAdapter& _rSource ) = delete; const OEventListenerAdapter& operator=( const OEventListenerAdapter& _rSource ) = delete; - protected: std::unique_ptr<OEventListenerAdapterImpl> m_pImpl; protected: diff --git a/include/vbahelper/vbadialogbase.hxx b/include/vbahelper/vbadialogbase.hxx index 751429cd4531..e56a27e08282 100644 --- a/include/vbahelper/vbadialogbase.hxx +++ b/include/vbahelper/vbadialogbase.hxx @@ -45,9 +45,8 @@ typedef InheritedHelperInterfaceWeakImpl< ov::XDialogBase > VbaDialogBase_BASE; class VBAHELPER_DLLPUBLIC VbaDialogBase : public VbaDialogBase_BASE { -protected: sal_Int32 mnIndex; - css::uno::Reference< css::frame::XModel > m_xModel; + css::uno::Reference< css::frame::XModel > m_xModel; public: VbaDialogBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::frame::XModel > xModel, sal_Int32 nIndex ):VbaDialogBase_BASE( xParent, xContext ), mnIndex( nIndex ), m_xModel(std::move( xModel )) {} |