summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/thesdlg.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index a9d30d66b74a..1a67ee8dec33 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -476,13 +476,12 @@ SvxThesaurusDialog::SvxThesaurusDialog(
aLookUpHistory.push( rWord );
OUString aTmp( rWord );
- linguistic::RemoveHyphens( aTmp );
- linguistic::ReplaceControlChars( aTmp );
- OUString aTmp2( aTmp );
- m_pReplaceEdit->SetText( aTmp2 );
- m_pWordCB->InsertEntry( aTmp2 );
+ (void)linguistic::RemoveHyphens( aTmp );
+ (void)linguistic::ReplaceControlChars( aTmp );
+ m_pReplaceEdit->SetText( aTmp );
+ m_pWordCB->InsertEntry( aTmp );
- LookUp( aTmp2 );
+ LookUp( aTmp );
m_pAlternativesCT->GrabFocus();
m_pLeftBtn->Enable( false );