summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-03-22 23:41:26 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-03-24 23:22:09 +0100
commita3ea6e856f5679d9e08187ff22cdf84a8f70190d (patch)
tree9cbd5d0d8ffa6dd5d1c0cfdc2db63ae692c2d4e3 /sw/source/ui/misc
parent5b592e25e7dddb8cc8c132882964b43e10cc155f (diff)
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
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
1 files changed, 0 insertions, 2 deletions
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())