From 22ca3bf1b9dedec65a57ac70a124bf69cd242e0e Mon Sep 17 00:00:00 2001
From: Norbert Thiebaud <nthiebaud@gmail.com>
Date: Sat, 4 Oct 2014 14:36:24 -0500
Subject: coverity#1242370: Unchecked return value

Change-Id: I11d80ddea4a38ce69ad7076af6da0bf173bd8551
---
 cui/source/dialogs/thesdlg.cxx | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'cui/source')

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 );
 
-- 
cgit