summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-18 13:43:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-18 13:47:29 +0200
commit1f38a0fe112c6293d04357ad2082255aaaf7e7b3 (patch)
treec94aa792cbf06bf91add7357b82daeadfc049622 /linguistic
parentfeddb8cb73db799e89b84ea8fd8c2057fdebca91 (diff)
unused nResMaxNumberOfSuggestions in PropertyHelper_Spell
since commit a111044babf3ee929baf548b7ad29df0a419293b Date: Wed Jul 15 10:49:17 2015 +0200 loplugin:unusedmethods linguistic Change-Id: I329c53b739395e9332b767562a138b52ce2fe588
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngprophelp.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index 0bf1a52db3fc..475b9c505525 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -342,8 +342,6 @@ PropertyHelper_Spell::PropertyHelper_Spell(
AddPropNames( aSP, SAL_N_ELEMENTS(aSP) );
SetDefaultValues();
GetCurrentValues();
-
- nResMaxNumberOfSuggestions = GetDefaultNumberOfSuggestions();
}
@@ -474,7 +472,6 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
// return value is default value unless there is an explicitly supplied
// temporary value
- nResMaxNumberOfSuggestions = GetDefaultNumberOfSuggestions();
bResIsSpellWithDigits = bIsSpellWithDigits;
bResIsSpellCapitalization = bIsSpellCapitalization;
bResIsSpellUpperCase = bIsSpellUpperCase;
@@ -487,7 +484,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
{
if ( pVal[i].Name == UPN_MAX_NUMBER_OF_SUGGESTIONS )
{
- pVal[i].Value >>= nResMaxNumberOfSuggestions;
+ // special value that is not part of the property set and thus needs to be handled differently
}
else
{