diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 13:38:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 14:14:48 +0200 |
commit | 7fb43031b7eec663768f5a4e78e60da86379df41 (patch) | |
tree | 026dd9b5a522aec8534763af074fc4a28ccfa58d /sw/inc | |
parent | 61ea11e51ceeaec7bf197a076cf40d96bd65ad07 (diff) |
loplugin:constantparam
Change-Id: Ibfe70492683ff3ec208cee95d8a11155ec54f690
Reviewed-on: https://gerrit.libreoffice.org/81314
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/calbck.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index fde08c288577..57eeac3ca535 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -187,10 +187,7 @@ class SW_DLLPUBLIC SwModify: public SwClient SwModify &operator =(const SwModify&) = delete; public: SwModify() - : SwClient(nullptr), m_pWriterListeners(nullptr), m_bModifyLocked(false), m_bLockClientList(false), m_bInCache(false), m_bInSwFntCache(false) - {} - explicit SwModify( SwModify* pToRegisterIn ) - : SwClient(pToRegisterIn), m_pWriterListeners(nullptr), m_bModifyLocked(false), m_bLockClientList(false), m_bInCache(false), m_bInSwFntCache(false) + : SwClient(), m_pWriterListeners(nullptr), m_bModifyLocked(false), m_bLockClientList(false), m_bInCache(false), m_bInSwFntCache(false) {} // broadcasting: send notifications to all clients |