From a3ea6e856f5679d9e08187ff22cdf84a8f70190d Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 22 Mar 2014 23:41:26 +0100 Subject: Result of expression is unused, remove that code This code has been there at least since 2000-09-18, so removing it seems to be safer than adding the evaluated token to the sMsg OUString, as the surrounding code would suggest. Change-Id: Ie9b2446b80a7bf79efbf6963b3a5e40548d4154c --- sw/source/ui/misc/glosbib.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sw/source/ui/misc') diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index b9d5beeeee19..a506684ddff0 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -142,8 +142,6 @@ void SwGlossaryGroupDlg::Apply() OUString sTitle( it->getToken(1, '\t') ); if(!sTitle.isEmpty()) sMsg += sTitle; - else - sDelGroup.getToken(1, GLOS_DELIM); sMsg += SW_RESSTR(STR_QUERY_DELETE_GROUP2); QueryBox aQuery(this->GetParent(), WB_YES_NO|WB_DEF_NO, sMsg ); if(RET_YES == aQuery.Execute()) -- cgit v1.2.3