diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-23 16:02:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-23 20:49:03 +0100 |
commit | 9c2e77152c3b824153ef5451ababe58dc5ce981c (patch) | |
tree | 7aaeaa6398fceea14ee508c9b3b5c082f2536920 /include | |
parent | bf059cd63fe01094b3eb469b2f4529820d692f32 (diff) |
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs
Change-Id: Iaa4424c2396470c6f1df85b0290fbffdda35fa08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143177
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/MasterPropertySet.hxx | 2 | ||||
-rw-r--r-- | include/comphelper/accessiblewrapper.hxx | 2 | ||||
-rw-r--r-- | include/comphelper/containermultiplexer.hxx | 1 | ||||
-rw-r--r-- | include/comphelper/logging.hxx | 1 | ||||
-rw-r--r-- | include/comphelper/stl_types.hxx | 1 | ||||
-rw-r--r-- | include/filter/msfilter/escherex.hxx | 6 | ||||
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 5 |
7 files changed, 9 insertions, 9 deletions
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx index acd9ce9c4af6..867583d646ca 100644 --- a/include/comphelper/MasterPropertySet.hxx +++ b/include/comphelper/MasterPropertySet.hxx @@ -61,12 +61,12 @@ namespace comphelper public css::beans::XPropertyState, public css::beans::XMultiPropertySet { - protected: SolarMutex* const mpMutex; sal_uInt8 mnLastId; std::map< sal_uInt8, comphelper::SlaveData* > maSlaveMap; rtl::Reference< MasterPropertySetInfo > mxInfo; + protected: /// @throws css::beans::UnknownPropertyException /// @throws css::beans::PropertyVetoException /// @throws css::lang::IllegalArgumentException diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx index 4493c660f216..8a09ae0110c3 100644 --- a/include/comphelper/accessiblewrapper.hxx +++ b/include/comphelper/accessiblewrapper.hxx @@ -71,8 +71,6 @@ namespace comphelper m_xParentAccessible; css::uno::WeakReference< css::accessibility::XAccessibleContext > m_aContext; - - protected: css::uno::Reference< css::accessibility::XAccessible > m_xInnerAccessible; diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx index 5b40b62ae515..dc3abc1d6148 100644 --- a/include/comphelper/containermultiplexer.hxx +++ b/include/comphelper/containermultiplexer.hxx @@ -45,7 +45,6 @@ namespace comphelper class COMPHELPER_DLLPUBLIC OContainerListener { friend class OContainerListenerAdapter; - protected: rtl::Reference<OContainerListenerAdapter> m_xAdapter; ::osl::Mutex& m_rMutex; diff --git a/include/comphelper/logging.hxx b/include/comphelper/logging.hxx index f0a599765b80..609c0b727f7b 100644 --- a/include/comphelper/logging.hxx +++ b/include/comphelper/logging.hxx @@ -91,7 +91,6 @@ namespace comphelper */ class COMPHELPER_DLLPUBLIC EventLogger { - protected: std::shared_ptr< EventLogger_Impl > m_pImpl; public: diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx index 6b21dd77ddbb..a1df3cc363c5 100644 --- a/include/comphelper/stl_types.hxx +++ b/include/comphelper/stl_types.hxx @@ -38,6 +38,7 @@ namespace comphelper struct UStringMixLess { +private: bool m_bCaseSensitive; public: UStringMixLess(bool bCaseSensitive = true):m_bCaseSensitive(bCaseSensitive){} diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index 462cee4f75af..ab8c30d7b2c4 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -478,18 +478,20 @@ struct MSFILTER_DLLPUBLIC EscherConnectorListEntry struct MSFILTER_DLLPUBLIC EscherExContainer { +private: sal_uInt32 nContPos; SvStream& rStrm; - +public: EscherExContainer( SvStream& rSt, const sal_uInt16 nRecType, const sal_uInt16 nInstance = 0 ); ~EscherExContainer(); }; struct MSFILTER_DLLPUBLIC EscherExAtom { +private: sal_uInt32 nContPos; SvStream& rStrm; - +public: EscherExAtom( SvStream& rSt, const sal_uInt16 nRecType, const sal_uInt16 nInstance = 0, const sal_uInt8 nVersion = 0 ); ~EscherExAtom(); }; diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 40ace3c33425..9c515615e0af 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -1000,8 +1000,9 @@ struct PPTRuler final : public salhelper::SimpleReferenceObject struct PPTTextRulerInterpreter { +private: rtl::Reference<PPTRuler> mxImplRuler; - +public: PPTTextRulerInterpreter(); PPTTextRulerInterpreter( PPTTextRulerInterpreter const & rRuler ); PPTTextRulerInterpreter( @@ -1156,10 +1157,10 @@ class MSFILTER_DLLPUBLIC PPTParagraphObj PPTParagraphObj(PPTParagraphObj const&) = delete; void operator=(PPTParagraphObj const&) = delete; -public: sal_uInt32 mnCurrentObject; ::std::vector<std::unique_ptr<PPTPortionObj>> m_PortionList; +public: void UpdateBulletRelSize( sal_uInt32& nBulletRelSize ) const; bool GetAttrib( sal_uInt32 nAttr, sal_uInt32& nVal, TSS_Type nInstanceInSheet ); |