summaryrefslogtreecommitdiff
path: root/include/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-16 10:11:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-18 10:03:44 +0000
commit2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch)
tree66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /include/linguistic
parent4e59eecc077d27dd9762e7c890b2aaf92a212959 (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')
-rw-r--r--include/linguistic/lngprophelp.hxx12
-rw-r--r--include/linguistic/spelldta.hxx4
2 files changed, 6 insertions, 10 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(
diff --git a/include/linguistic/spelldta.hxx b/include/linguistic/spelldta.hxx
index 2e3e6c08aadc..d390de24784a 100644
--- a/include/linguistic/spelldta.hxx
+++ b/include/linguistic/spelldta.hxx
@@ -48,10 +48,6 @@ void SeqRemoveNegEntries(
css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &rxDicList,
sal_Int16 nLanguage );
-bool SeqHasEntry(
- const css::uno::Sequence< OUString > &rSeq,
- const OUString &rTxt);
-
void SearchSimilarText( const OUString &rText, sal_Int16 nLanguage,
css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &xDicList,
std::vector< OUString > & rDicListProps );