Index: xfa/src/fwl/src/lightwidget/listbox.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/listbox.cpp b/xfa/src/fwl/src/lightwidget/listbox.cpp |
index eb212fadcab6415bb179362a49b02b78030804f8..4e6f4b8a4771ef5dec6bddc344cee500c061ae53 100644 |
--- a/xfa/src/fwl/src/lightwidget/listbox.cpp |
+++ b/xfa/src/fwl/src/lightwidget/listbox.cpp |
@@ -47,8 +47,6 @@ FX_BOOL CFWL_ListBox::DeleteString(FWL_HLISTITEM hItem) { |
static_cast<size_t>(nIndex) >= m_ListBoxDP.m_ItemArray.size()) { |
return FALSE; |
} |
- CFWL_ListItem* pDelItem = |
- reinterpret_cast<CFWL_ListItem*>(m_ListBoxDP.GetItem(m_pIface, nIndex)); |
int32_t iCount = m_ListBoxDP.CountItems(m_pIface); |
int32_t iSel = nIndex + 1; |
if (iSel >= iCount) { |