summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
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 /cui/source/dialogs
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 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/SpellAttrib.hxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/cui/source/dialogs/SpellAttrib.hxx b/cui/source/dialogs/SpellAttrib.hxx
index 4069af899875..8578914890d0 100644
--- a/cui/source/dialogs/SpellAttrib.hxx
+++ b/cui/source/dialogs/SpellAttrib.hxx
@@ -44,9 +44,6 @@ struct SpellErrorDescription
css::uno::Sequence< OUString > aSuggestions;
OUString sRuleId;
- SpellErrorDescription() :
- bIsGrammarError( false ){}
-
SpellErrorDescription( bool bGrammar,
const OUString& rText,
const css::lang::Locale& rLocale,
@@ -99,8 +96,7 @@ public:
private:
SpellErrorDescription m_aSpellErrorDescription;
- //not accessible
- SpellErrorAttrib();
+ SpellErrorAttrib() = delete;
public:
SpellErrorAttrib( const SpellErrorDescription& );
SpellErrorAttrib( const SpellErrorAttrib& rAttr );
@@ -119,8 +115,7 @@ class SpellLanguageAttrib : public TextAttrib
{
LanguageType m_eLanguage;
- //not accessible
- SpellLanguageAttrib();
+ SpellLanguageAttrib() = delete;
public:
SpellLanguageAttrib(LanguageType eLanguage);
@@ -139,8 +134,7 @@ class SpellBackgroundAttrib : public TextAttrib
{
Color m_aBackgroundColor;
- //not accessible
- SpellBackgroundAttrib();
+ SpellBackgroundAttrib() = delete;
public:
SpellBackgroundAttrib(const Color& rCol);