diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-18 20:46:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 21:11:01 +0000 |
commit | 8afc30fd3420c9318d2e56d588fe19df664e6755 (patch) | |
tree | 925422574ba74c3ecba95d8f694e6c15097edd4f /sw | |
parent | 217046eb3445ebbcb8fe6801beb2f9c15d6894c0 (diff) |
this aWord is never used
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/edit/edlingu.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx index 34fc1954f6a2..1c8baddcb83b 100644 --- a/sw/source/core/edit/edlingu.cxx +++ b/sw/source/core/edit/edlingu.cxx @@ -1124,8 +1124,6 @@ bool SwEditShell::GetGrammarCorrection( if (pWrong->InWrongWord(nBegin, nLen)) { String aText( pNode->GetTxt().Copy( nBegin, nLen ) ); - String aWord( aText ); - aWord.EraseAllChars( CH_TXTATR_BREAKWORD ).EraseAllChars( CH_TXTATR_INWORD ); uno::Reference< linguistic2::XProofreadingIterator > xGCIterator( pDoc->GetGCIterator() ); if (xGCIterator.is()) |