loplugin:constantfunction: linguistic

Change-Id: If9645dc5962432af6912c98649eea9c981fb0ed1
This commit is contained in:
Noel Grandin
2015-03-04 13:38:56 +02:00
parent c97ccd3b36
commit 2f30600296
2 changed files with 1 additions and 7 deletions

View File

@@ -227,7 +227,7 @@ public:
propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& rEvt )
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Int16 GetDefaultNumberOfSuggestions() const;
static sal_Int16 GetDefaultNumberOfSuggestions() { return 16; }
sal_Int16 GetMaxNumberOfSuggestions() const { return nResMaxNumberOfSuggestions; }
bool IsSpellUpperCase() const { return bResIsSpellUpperCase; }

View File

@@ -525,12 +525,6 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
}
}
sal_Int16 PropertyHelper_Spell::GetDefaultNumberOfSuggestions() const
{
return 16;
}
static const char *aHP[] =
{
UPN_HYPH_MIN_LEADING,