summaryrefslogtreecommitdiff
path: root/include/comphelper/asyncnotification.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-19 16:28:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-20 14:12:57 +0200
commit12dce07aec980562fa449fa1884e0e8379d680fb (patch)
tree77bfe25b147d33bccd8f3dfc656f533d547ab3ae /include/comphelper/asyncnotification.hxx
parentfd0348d42568d5f32fb03e1e13055db5938d5f35 (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/asyncnotification.hxx')
-rw-r--r--include/comphelper/asyncnotification.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx
index b08e3be3fc48..bc2ebf54f675 100644
--- a/include/comphelper/asyncnotification.hxx
+++ b/include/comphelper/asyncnotification.hxx
@@ -204,7 +204,7 @@ namespace comphelper
typedef EVENT_OBJECT EventObjectType;
private:
- EventObjectType m_aEvent;
+ EventObjectType const m_aEvent;
public:
EventHolder( const EventObjectType& _rEvent )