[Libreoffice-commits] core.git: sw/source
Julien Nabet
serval2412 at yahoo.fr
Sat Apr 26 14:26:35 PDT 2014
sw/source/ui/fldui/flddb.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit ef2ad2fb1f373eca85562fefa0a4572f05ee4d9e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 26 23:23:21 2014 +0200
cppcheck: pColEntry has never been used since the initial import in 2000/09/18
Change-Id: Ic06a4f4fa0ed6ef782846e5b020ac889a30b4360
diff --git a/sw/source/ui/fldui/flddb.cxx b/sw/source/ui/fldui/flddb.cxx
index 6595751..6612249 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());
More information about the Libreoffice-commits
mailing list