Kaydet (Commit) 2f306002 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantfunction: linguistic

Change-Id: If9645dc5962432af6912c98649eea9c981fb0ed1
üst c97ccd3b
......@@ -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; }
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment