removed now obsoleted commented-out piece of code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0133d06b1a
commit
00a693ed2f
@ -138,22 +138,6 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag)
|
||||
#endif
|
||||
if (tag.GetParam(wxT("TYPE")) == wxT("text/sitemap"))
|
||||
{
|
||||
/*
|
||||
// We're reading in items at level zero, which must mean we want to specify
|
||||
// our own 'books', so chuck out the first (empty) one that AddBook already
|
||||
// created
|
||||
if (m_firstTime && (m_Level == 0) && (m_ItemsCnt > 0))
|
||||
{
|
||||
delete[] m_Items[0].m_Name;
|
||||
delete[] m_Items[0].m_Page;
|
||||
m_ItemsCnt --;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_ItemsCnt % wxHTML_REALLOC_STEP == 0)
|
||||
m_Items = (wxHtmlContentsItem*) realloc(m_Items, (m_ItemsCnt + wxHTML_REALLOC_STEP) * sizeof(wxHtmlContentsItem));
|
||||
}
|
||||
*/
|
||||
if (m_ItemsCnt % wxHTML_REALLOC_STEP == 0)
|
||||
m_Items = (wxHtmlContentsItem*) realloc(m_Items,
|
||||
(m_ItemsCnt + wxHTML_REALLOC_STEP) *
|
||||
|
Loading…
Reference in New Issue
Block a user