diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-16 10:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:03:44 +0000 |
commit | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch) | |
tree | 66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /include/linguistic/lngprophelp.hxx | |
parent | 4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff) |
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other
plugins too.
Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/linguistic/lngprophelp.hxx')
-rw-r--r-- | include/linguistic/lngprophelp.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index c432b7bbe519..e11b09eac1e9 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -157,8 +157,8 @@ class LNG_DLLPUBLIC PropertyHelper_Thesaurus css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; // disallow use of copy-constructor and assignment-operator - PropertyHelper_Thesaurus( const PropertyHelper_Thes & ); - PropertyHelper_Thesaurus & operator = ( const PropertyHelper_Thes & ); + PropertyHelper_Thesaurus( const PropertyHelper_Thes & ) = delete; + PropertyHelper_Thesaurus & operator = ( const PropertyHelper_Thes & ) = delete; public: PropertyHelper_Thesaurus( @@ -222,8 +222,8 @@ class LNG_DLLPUBLIC PropertyHelper_Spelling css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; // disallow use of copy-constructor and assignment-operator - PropertyHelper_Spelling( const PropertyHelper_Spell & ); - PropertyHelper_Spelling & operator = ( const PropertyHelper_Spell & ); + PropertyHelper_Spelling( const PropertyHelper_Spell & ) = delete; + PropertyHelper_Spelling & operator = ( const PropertyHelper_Spell & ) = delete; public: PropertyHelper_Spelling( @@ -293,8 +293,8 @@ class LNG_DLLPUBLIC PropertyHelper_Hyphenation css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; // disallow use of copy-constructor and assignment-operator - PropertyHelper_Hyphenation( const PropertyHelper_Hyphen & ); - PropertyHelper_Hyphenation & operator = ( const PropertyHelper_Hyphen & ); + PropertyHelper_Hyphenation( const PropertyHelper_Hyphen & ) = delete; + PropertyHelper_Hyphenation & operator = ( const PropertyHelper_Hyphen & ) = delete; public: PropertyHelper_Hyphenation( |