n is immediately overwritten

Change-Id: I51c511efcfaf2d97cefa42abea1d3e42c023fbbd
This commit is contained in:
Caolán McNamara
2013-11-08 15:28:59 +00:00
parent 5a792cefec
commit ea4fd6d5ca

View File

@@ -385,8 +385,6 @@ sal_Bool SvxAutoCorrect::FnCptlSttWrd( SvxAutoCorrDoc& rDoc, const OUString& rTx
aDelimiters.push_back(nEndPos);
// Iterate through the word and all words that compose it.
n = aDelimiters.size();
// Two capital letters at the beginning of word?
for(n = 0; n < aDelimiters.size() - 1; n++)
{