summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-06-28 18:42:03 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-22 23:50:36 +0200
commitca8211a6c2f39bf8cc122767ba9aeae67443f839 (patch)
tree7134dcd08e26a7f14017cfd9d9f89b6522c8ad2e
parente687601f2a38d11c124b0fb9a3d3d5cc762188c3 (diff)
nFound is never read
Change-Id: I4cd243f7ea5ba53e5d341544ad0d7c17e425cfb5
-rw-r--r--sw/source/uibase/utlui/gloslst.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx
index 5d39c1d29f5e..f003eead72fa 100644
--- a/sw/source/uibase/utlui/gloslst.cxx
+++ b/sw/source/uibase/utlui/gloslst.cxx
@@ -111,7 +111,6 @@ bool SwGlossaryList::GetShortName(const OUString& rLongName,
std::vector<TripleString> aTripleStrings;
size_t nCount = aGroupArr.size();
- sal_uInt16 nFound = 0;
for(size_t i = 0; i < nCount; i++ )
{
AutoTextGroup* pGroup = aGroupArr[i];
@@ -129,7 +128,6 @@ bool SwGlossaryList::GetShortName(const OUString& rLongName,
pTriple.sBlock = sLong;
pTriple.sShort = pGroup->sShortNames.getToken(j, STRING_DELIM);
aTripleStrings.push_back(pTriple);
- ++nFound;
}
}