diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-19 16:28:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-20 14:12:57 +0200 |
commit | 12dce07aec980562fa449fa1884e0e8379d680fb (patch) | |
tree | 77bfe25b147d33bccd8f3dfc656f533d547ab3ae /include/comphelper/ChainablePropertySet.hxx | |
parent | fd0348d42568d5f32fb03e1e13055db5938d5f35 (diff) |
loplugin:unusedfields - look for fields that can be const, in comphelper
idea from tml.
Extend the unusedfields plugin to find fields that are only assigned in
the constructor.
Change-Id: I258d3581afbe651d53ce730c9ba27a4598cd9248
Reviewed-on: https://gerrit.libreoffice.org/57733
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper/ChainablePropertySet.hxx')
-rw-r--r-- | include/comphelper/ChainablePropertySet.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index a306850caf18..e048883ada7c 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -68,7 +68,7 @@ namespace comphelper { friend class MasterPropertySet; protected: - SolarMutex* mpMutex; + SolarMutex* const mpMutex; rtl::Reference < ChainablePropertySetInfo > mxInfo; /// @throws css::beans::UnknownPropertyException |