From 00a693ed2fb7e0a8abf386a8ecee279f6301601b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 8 May 2001 22:25:33 +0000 Subject: [PATCH] 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 --- src/html/helpdata.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 7469fc6f2e..fe9dfbcff2 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -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) * -- 2.45.2