summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-04-26 23:23:21 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-04-26 23:23:21 +0200
commitef2ad2fb1f373eca85562fefa0a4572f05ee4d9e (patch)
tree5ef2c41591f9c7c784ba3de87e9333aa1482774c /sw
parentd456fcd3454b2466553ba59a90bd62dd88cbbb7a (diff)
cppcheck: pColEntry has never been used since the initial import in 2000/09/18
Change-Id: Ic06a4f4fa0ed6ef782846e5b020ac889a30b4360
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/fldui/flddb.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/flddb.cxx b/sw/source/ui/fldui/flddb.cxx
index 6595751eda9a..6612249d3158 100644
--- a/sw/source/ui/fldui/flddb.cxx
+++ b/sw/source/ui/fldui/flddb.cxx
@@ -418,8 +418,7 @@ void SwFldDBPage::CheckInsert()
IMPL_LINK( SwFldDBPage, TreeSelectHdl, SvTreeListBox *, pBox )
{
- SvTreeListEntry* pColEntry;
- SvTreeListEntry* pEntry = pColEntry = pBox->GetCurEntry();
+ SvTreeListEntry* pEntry = pBox->GetCurEntry();
if (pEntry)
{
const sal_uInt16 nTypeId = (sal_uInt16)(sal_uLong)m_pTypeLB->GetEntryData(GetTypeSel());