diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 11:47:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 14:51:56 +0200 |
commit | b09deb075319c1c19f91e3a6f64429b61682ebf8 (patch) | |
tree | 9e73d1e63092083a337a4ddf1dfe962b4f6ef4dc /include/linguistic | |
parent | 587d6e13df7bb9c8f78ce605ebb8f8fd34b85a2c (diff) |
loplugin:constparams handle constructors
had to change the structure of the plugin considerably, was too messy to
structure it to do the calculations on a per-function basis
Change-Id: I4edee7735f726101105c607368124a08dba21086
Reviewed-on: https://gerrit.libreoffice.org/40516
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/linguistic')
-rw-r--r-- | include/linguistic/lngprophelp.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index 065a1c920ff9..6a52633f681b 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -93,7 +93,7 @@ protected: public: PropertyChgHelper( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet, + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet, int nAllowedEvents ); virtual ~PropertyChgHelper() override; @@ -138,7 +138,7 @@ class PropertyHelper_Thes : public: PropertyHelper_Thes( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet ); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet ); virtual ~PropertyHelper_Thes() override; // XPropertyChangeListener @@ -158,7 +158,7 @@ class LNG_DLLPUBLIC PropertyHelper_Thesaurus public: PropertyHelper_Thesaurus( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet ); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet ); ~PropertyHelper_Thesaurus(); void AddAsPropListener(); void RemoveAsPropListener(); @@ -193,7 +193,7 @@ protected: public: PropertyHelper_Spell( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet ); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet ); virtual ~PropertyHelper_Spell() override; virtual void SetTmpPropVals( const css::beans::PropertyValues &rPropVals ) override; @@ -222,7 +222,7 @@ class LNG_DLLPUBLIC PropertyHelper_Spelling public: PropertyHelper_Spelling( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet ); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet ); ~PropertyHelper_Spelling(); void AddAsPropListener(); @@ -266,7 +266,7 @@ protected: public: PropertyHelper_Hyphen( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet); virtual ~PropertyHelper_Hyphen() override; virtual void SetTmpPropVals( const css::beans::PropertyValues &rPropVals ) override; @@ -292,7 +292,7 @@ class LNG_DLLPUBLIC PropertyHelper_Hyphenation public: PropertyHelper_Hyphenation( const css::uno::Reference< css::uno::XInterface > &rxSource, - css::uno::Reference< css::linguistic2::XLinguProperties > &rxPropSet); + css::uno::Reference< css::linguistic2::XLinguProperties > const &rxPropSet); ~PropertyHelper_Hyphenation(); void AddAsPropListener(); |