diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-04 14:36:24 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-04 15:08:13 -0500 |
commit | 22ca3bf1b9dedec65a57ac70a124bf69cd242e0e (patch) | |
tree | 56fe09f6f13f87b8ae432f82d2ecbb8deadf15a0 /cui/source | |
parent | 9835a5823e0f559aabbc0e15ea126c82229c4bc7 (diff) |
coverity#1242370: Unchecked return value
Change-Id: I11d80ddea4a38ce69ad7076af6da0bf173bd8551
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 11 |
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 ); |