diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-12-28 22:37:24 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-12-28 22:40:43 +0100 |
commit | 2bd59981116128639765602f92db2c6a07a1128d (patch) | |
tree | 15f3a36effe8129697de234379f373a013bf3ab3 /editeng | |
parent | 5d00bab62b255342f00ce31d7390f8ed5a1c6501 (diff) |
Remove unread variable
Change-Id: I6271e8f977d5c112223d14744830c8101099613d
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 5cc25b654e8f..31deb7606b77 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2278,7 +2278,6 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC const sal_Int32 nInvStart = pWrongList->GetInvalidStart(); const sal_Int32 nInvEnd = pWrongList->GetInvalidEnd(); - sal_uInt16 nWrongs = 0; // Lose control also in the paragraphs sal_Int32 nPaintFrom = -1; sal_Int32 nPaintTo = 0; bool bSimpleRepaint = true; @@ -2316,7 +2315,6 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC if ( !xSpeller->isValid( aWord, GetLanguage( EditPaM( aSel.Min().GetNode(), nWStart+1 ) ), aEmptySeq ) ) { // Check if already marked correctly... - nWrongs++; const sal_Int32 nXEnd = bDottAdded ? nWEnd -1 : nWEnd; if ( !pWrongList->HasWrong( nWStart, nXEnd ) ) { |