Kaydet (Commit) 1f38a0fe authored tarafından Noel Grandin's avatar Noel Grandin

unused nResMaxNumberOfSuggestions in PropertyHelper_Spell

since

    commit a111044b
    Date:   Wed Jul 15 10:49:17 2015 +0200
    loplugin:unusedmethods linguistic

Change-Id: I329c53b739395e9332b767562a138b52ce2fe588
üst feddb8cb
......@@ -175,7 +175,6 @@ class LNG_DLLPUBLIC PropertyHelper_Spell :
bool bIsSpellCapitalization;
// return values, will be set to default value or current temporary value
sal_Int16 nResMaxNumberOfSuggestions; // special value that is not part of the property set and thus needs to be handled differently
bool bResIsSpellUpperCase;
bool bResIsSpellWithDigits;
bool bResIsSpellCapitalization;
......@@ -202,8 +201,6 @@ public:
virtual void SAL_CALL
propertyChange( const css::beans::PropertyChangeEvent& rEvt ) override;
static sal_Int16 GetDefaultNumberOfSuggestions() { return 16; }
bool IsSpellUpperCase() const { return bResIsSpellUpperCase; }
bool IsSpellWithDigits() const { return bResIsSpellWithDigits; }
bool IsSpellCapitalization() const { return bResIsSpellCapitalization; }
......
......@@ -342,8 +342,6 @@ PropertyHelper_Spell::PropertyHelper_Spell(
AddPropNames( aSP, SAL_N_ELEMENTS(aSP) );
SetDefaultValues();
GetCurrentValues();
nResMaxNumberOfSuggestions = GetDefaultNumberOfSuggestions();
}